feat: username input and small fixes
This commit is contained in:
13
frontend/src/boot/axios.js
Normal file
13
frontend/src/boot/axios.js
Normal file
@@ -0,0 +1,13 @@
|
||||
import { boot } from 'quasar/wrappers';
|
||||
import axios from 'axios';
|
||||
|
||||
const api = axios.create({
|
||||
baseURL: "https://localhost:5555"
|
||||
});
|
||||
|
||||
export default boot(({ app }) => {
|
||||
app.config.globalProperties.$axios = axios;
|
||||
app.config.globalProperties.$api = api;
|
||||
});
|
||||
|
||||
export { api };
|
||||
Reference in New Issue
Block a user