fixed expiration date

This commit is contained in:
Elias Schneider
2022-04-25 17:58:03 +02:00
parent d6718cc545
commit b26578a409
6 changed files with 11 additions and 8 deletions

View File

@@ -2,7 +2,7 @@ import axios from "axios";
const api = () =>
axios.create({
baseURL: process.env["NEXT_PUBLIC_APPWRITE_HOST"],
baseURL: process.env["APPWRITE_HOST"],
headers: {
cookie: `a_session_console=${process.env["APPWRITE_USER_TOKEN"]}`,
},

View File

@@ -3,7 +3,7 @@ const aw = () => {
let client = new sdk.Client();
client
.setEndpoint(process.env["NEXT_PUBLIC_APPWRITE_HOST"])
.setEndpoint(process.env["APPWRITE_HOST"])
.setProject("pingvin-share")
.setKey(process.env["APPWRITE_API_KEY"])
.setSelfSigned();