renamed env variable

This commit is contained in:
Elias Schneider
2022-04-25 17:16:17 +02:00
parent 1343bedfef
commit d6718cc545
6 changed files with 6 additions and 6 deletions

View File

@@ -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"]}`,
},