changed all urls
This commit is contained in:
@ -49,7 +49,7 @@
|
||||
import { useRouter } from 'vue-router';
|
||||
import { ref } from 'vue';
|
||||
import Axios from '../axios.config.js';
|
||||
import serversideConfig from '../serversideConfig.js';
|
||||
import clientsideConfig from '../clientsideConfig.js';
|
||||
|
||||
const router = useRouter();
|
||||
const darkMode = ref(true);
|
||||
@ -69,7 +69,7 @@ const handleLogin = async () => {
|
||||
}
|
||||
|
||||
try {
|
||||
let res = await Axios.post(`https://${serversideConfig.url}:3000/api/login`, requestBody);
|
||||
let res = await Axios.post(`https://${clientsideConfig.url}:${clientsideConfig.port}/api/login`, requestBody);
|
||||
|
||||
// something to do with the res?
|
||||
console.log(res.data)
|
||||
@ -123,7 +123,7 @@ const testFunctionSignup = async () => {
|
||||
}
|
||||
|
||||
try {
|
||||
let res = await Axios.post(`https://${serversideConfig.url}:3000/api/signup`, requestBody);
|
||||
let res = await Axios.post(`https://${clientsideConfig.url}:${clientsideConfig.port}/api/signup`, requestBody);
|
||||
|
||||
// something to do with the res?
|
||||
console.log(res.data)
|
||||
|
||||
Reference in New Issue
Block a user