te
This commit is contained in:
parent
40a3cff4d3
commit
d41d41596d
@ -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
|
||||||
|
@ -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",
|
||||||
|
@ -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",
|
||||||
|
@ -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",
|
||||||
|
Loading…
Reference in New Issue
Block a user