diff --git a/README.md b/README.md index a105ff7..ba81b28 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# fediverse.space 🌐 [![Netlify Status](https://api.netlify.com/api/v1/badges/ddc939c0-c12f-4e0e-8ca3-cf6abe8b9a5a/deploy-status)](https://app.netlify.com/sites/sharp-curran-4b66d3/deploys) +# fediverse.space 🌐 The map of the fediverse that you always wanted. ![A screenshot of fediverse.space](screenshot.png) diff --git a/backend/backend/settings/production.py b/backend/backend/settings/production.py index 928cc7b..3e0f690 100644 --- a/backend/backend/settings/production.py +++ b/backend/backend/settings/production.py @@ -4,9 +4,7 @@ DEBUG = False ALLOWED_HOSTS = ['backend.fediverse.space'] -CORS_ORIGIN_WHITELIST = [ - 'fediverse.space', - 'www.fediverse.space', - 'staging.fediverse.space', +CORS_ORIGIN_REGEX_WHITELIST = [ + r'^(https?:\/\/)?(\w+\.)?(.*)?fediverse-space\.netlify\.com\/?$', + r'^(https?:\/\/)?(\w+\.)?(.*)?fediverse\.space\/?$', ] -CORS_ORIGIN_REGEX_WHITELIST = (r'^(https?:\/\/)?(\w+\.)?(.*)?fediverse-space\.netlify\.com\/?$', ) diff --git a/frontend/src/components/Nav.tsx b/frontend/src/components/Nav.tsx index 1c8050b..bf7d666 100644 --- a/frontend/src/components/Nav.tsx +++ b/frontend/src/components/Nav.tsx @@ -106,7 +106,7 @@ export class Nav extends React.Component<{}, INavState> { The source code for fediverse.space is available on{' '} - GitHub;{' '} + GitLab;{' '} issues and pull requests are welcome!

diff --git a/frontend/src/components/Sidebar.tsx b/frontend/src/components/Sidebar.tsx index 8256e94..a5af465 100644 --- a/frontend/src/components/Sidebar.tsx +++ b/frontend/src/components/Sidebar.tsx @@ -268,8 +268,8 @@ class SidebarImpl extends React.Component { icon={IconNames.BLOCKED_PERSON} title="No data" description="This instance has fewer than 5 users. It was not crawled in order to protect their privacy, but if it's your instance you can opt in." - action={ - Open a GitHub issue to opt in} + action={ + Message @tao to opt in} /> ) }