Skip to content

Replace https://gm4.co/discord and https://gm4.co/wiki with real URLs#90

Open
TransportLayer wants to merge 1 commit intoGamemode4Dev:masterfrom
TransportLayer:real-urls
Open

Replace https://gm4.co/discord and https://gm4.co/wiki with real URLs#90
TransportLayer wants to merge 1 commit intoGamemode4Dev:masterfrom
TransportLayer:real-urls

Conversation

@TransportLayer
Copy link
Copy Markdown
Contributor

This ensures that users can always access the real URLs even if the webserver is down or misbehaving and it is consistent with our links to other sites like GitHub and Patreon.

While this means we have to replace the URL in a few different files if we ever start using a new Discord invite link, it's very easy to search and replace every instance in every file, and it's nice to have less redirects and dependency on external components (why make a new request that depends on our webserver configuration for an off-site URL when we could directly link the user?).

(I also fixed the indentation for the Discord link in site/server.php)

This ensures that users can always access the real URLs even if the webserver
is down or misbehaving and it is consistent with our links to other sites like
GitHub and Patreon.

While this means we have to replace the URL in a few different files if we ever
start using a new Discord invite link, it's very easy to search and replace
every instance in every file, and it's nice to have less redirects and
dependency on external components (why make a new request that depends on our
webserver configuration for an off-site URL when we could directly link the
user?).
@TransportLayer
Copy link
Copy Markdown
Contributor Author

Note that this is only replacing the links on the website; the links themselves are not part of the website and will continue to work (they are part of the webserver configuration).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant