chore(cors): update frontend URL to apoena.dev domain
This commit is contained in:
@@ -5,7 +5,7 @@ const DEEPL_API_KEY = Deno.env.get("DEEPL_AUTH_KEY");
|
||||
const BEARER_TOKEN = Deno.env.get("BEARER_TOKEN");
|
||||
const PORT = parseInt(Deno.env.get("PORT") || "8000");
|
||||
const DEEPL_API_BASE = "https://api-free.deepl.com/v2";
|
||||
const FRONTEND_URLS = ["http://localhost", "https://deep-lite.netlify.app"];
|
||||
const FRONTEND_URLS = ["http://localhost", "https://deeplite.apoena.dev"];
|
||||
|
||||
if (!DEEPL_API_KEY) {
|
||||
console.error("ERROR: DEEPL_AUTH_KEY environment variable is required");
|
||||
|
||||
Reference in New Issue
Block a user