Tweaked the contents of env variables, read more

NEWS_URI and AUTH_URI had the end of their routes lopped off, so I
could reference /admin using either one of them.
This commit is contained in:
2021-03-14 04:37:35 +11:00
parent c2f1cd76e9
commit 211eb460cb
13 changed files with 23 additions and 23 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ const Member = () => {
{ /* Logout button logs you out of the server too */ }
<Link to='/' onClick={async () => {
const result = await authTokens.tokenFetch(`${process.env.AUTH_URI}/logout`, { //NOTE: this gets overwritten as a bugfix
const result = await authTokens.tokenFetch(`${process.env.AUTH_URI}/auth/logout`, { //NOTE: this gets overwritten as a bugfix
method: 'DELETE',
headers: {
'Content-Type': 'application/json',