diff --git a/backend/lib/backend_web/endpoint.ex b/backend/lib/backend_web/endpoint.ex index 2161243..82e3950 100644 --- a/backend/lib/backend_web/endpoint.ex +++ b/backend/lib/backend_web/endpoint.ex @@ -46,7 +46,7 @@ defmodule BackendWeb.Endpoint do ) plug(Corsica, - origins: ["http://localhost:3001", ~r{^https://(.*\.?)index\.community$}], + origins: ["http://localhost:3001", ~r{^https://(.*\.?)index\.community$}, ~r{^https://(.*\.?)fediverse\.space$}], allow_headers: ["content-type", "token"] ) diff --git a/frontend/nginx.conf b/frontend/nginx.conf index 9afa4a8..7e964b7 100644 --- a/frontend/nginx.conf +++ b/frontend/nginx.conf @@ -1,7 +1,7 @@ server { listen 80; listen [::]:80; - server_name index.community; + server_name fediverse.space; gzip on; gzip_comp_level 5; diff --git a/frontend/public/index.html b/frontend/public/index.html index 56f3701..588db06 100644 --- a/frontend/public/index.html +++ b/frontend/public/index.html @@ -9,19 +9,19 @@ - + - + - + - + - index.community + fediverse.space diff --git a/frontend/src/components/organisms/Nav.tsx b/frontend/src/components/organisms/Nav.tsx index e923dde..95b6613 100644 --- a/frontend/src/components/organisms/Nav.tsx +++ b/frontend/src/components/organisms/Nav.tsx @@ -24,7 +24,7 @@ class Nav extends React.Component<{}, NavState> {