Using render
This commit is contained in:
+1
-1
@@ -10,7 +10,7 @@ export function setCookies(c: string) {
|
||||
cookies = c;
|
||||
}
|
||||
function getOrigin(useLocalhost: boolean) {
|
||||
return useLocalhost ? "http://localhost:3000" : "https://dev-run.netlify.app";
|
||||
return useLocalhost ? "http://localhost:3000" : "https://dev-run.onrender.com";
|
||||
}
|
||||
|
||||
export async function addRun(
|
||||
|
||||
+1
-1
@@ -16,7 +16,7 @@ app.use(
|
||||
!origin ||
|
||||
origin.includes("localhost") ||
|
||||
origin.includes("127.0.0.1") ||
|
||||
origin === "https://dev-run.netlify.app"
|
||||
origin === "https://dev-run.onrender.com"
|
||||
) {
|
||||
callback(null, true);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user