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:
@@ -46,7 +46,7 @@ const PrivilegeEditor = props => {
|
||||
};
|
||||
|
||||
const handleSubmit = async (username, privilege, tokenFetch) => {
|
||||
const result = await tokenFetch(`${process.env.AUTH_URI}/account/privilege`, {
|
||||
const result = await tokenFetch(`${process.env.AUTH_URI}/admin/privilege`, {
|
||||
method: 'PATCH',
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
|
||||
Reference in New Issue
Block a user