This commit is contained in:
Kilton937342 2022-08-02 14:17:14 +02:00
parent 40a3cff4d3
commit d41d41596d
4 changed files with 4 additions and 4 deletions

View File

@ -1,3 +1,3 @@
NEXT_PUBLIC_HOSTNAME=141.136.42.178 NEXT_PUBLIC_HOSTNAME=141.136.42.178
NEXT_PUBLIC_PORT=80 NEXT_PUBLIC_PORT=80
NEXT_PUBLIC_HOST=http://lilandco42.com NEXT_PUBLIC_HOST=lilandco42.com

View File

@ -2,7 +2,7 @@ import axios from "axios";
import { csrftoken, isBrowser } from "../utils/utils.js"; import { csrftoken, isBrowser } from "../utils/utils.js";
export const exoInstance = axios.create({ export const exoInstance = axios.create({
baseURL: `${process.env.NEXT_PUBLIC_HOST}/api/exos/`, baseURL: `http://${process.env.NEXT_PUBLIC_HOST}/api/exos/`,
headers: { headers: {
"Content-Type": "application/json", "Content-Type": "application/json",
Accept: "application/json", Accept: "application/json",

View File

@ -2,7 +2,7 @@ import axios from "axios";
import { csrftoken, isBrowser } from "../utils/utils.js"; import { csrftoken, isBrowser } from "../utils/utils.js";
export const roomInstance = axios.create({ export const roomInstance = axios.create({
baseURL: `${process.env.NEXT_PUBLIC_HOST}/api/room/`, baseURL: `http://${process.env.NEXT_PUBLIC_HOST}/api/room/`,
headers: { headers: {
"Content-Type": "application/json", "Content-Type": "application/json",
Accept: "application/json", Accept: "application/json",

View File

@ -2,7 +2,7 @@ import axios from "axios";
import { csrftoken, isBrowser } from "../utils/utils.js"; import { csrftoken, isBrowser } from "../utils/utils.js";
export const usersInstance = axios.create({ export const usersInstance = axios.create({
baseURL: `${process.env.NEXT_PUBLIC_HOST}/api/users/auth`, baseURL: `http://${process.env.NEXT_PUBLIC_HOST}/api/users/auth`,
headers: { headers: {
"Content-Type": "application/json", "Content-Type": "application/json",
Accept: "application/json", Accept: "application/json",