[F] Fix duplicate "/api/" in path

This commit is contained in:
Hykilpikonna
2019-09-07 09:13:11 -04:00
parent 8860c88b1a
commit 38089c74b5
+1 -1
View File
@@ -24,7 +24,7 @@ export default class Login extends Vue
this.loading = true;
// Fetch request TODO: Add username and password when the https server is ready.
fetch(`${Constants.API_URL}/api/login`,
fetch(`${Constants.API_URL}/login`,
{method: 'POST', body: JSON.stringify({username: this.username, password: this.password})})
.then(res =>
{