jeffalo / my-ocular

backend for ocular
https://ocular.jeffalo.net/docs/about#what-iswas-my-ocular
9 stars 10 forks source link

use req.get("Host") instead of localhost:8081 #26

Open FunctionalMetatable opened 2 years ago

jeffalo commented 2 years ago

for the CORS check? i'm scared of CORS.. is that safe?

cobaltt7 commented 2 years ago

Should be safe, it would just allow you to host my-ocular on a different domain/port