mirror of
https://github.com/swissmakers/swiss-datashare.git
synced 2026-04-11 10:27:01 +02:00
renamed env variable
This commit is contained in:
@@ -2,7 +2,7 @@ import axios from "axios";
|
||||
|
||||
const api = () =>
|
||||
axios.create({
|
||||
baseURL: process.env["APPWRITE_HOST"],
|
||||
baseURL: process.env["NEXT_PUBLIC_APPWRITE_HOST"],
|
||||
headers: {
|
||||
cookie: `a_session_console=${process.env["APPWRITE_USER_TOKEN"]}`,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user