Skip to content

Commit

Permalink
add domain and support cross origin
Browse files Browse the repository at this point in the history
  • Loading branch information
meua committed Dec 11, 2023
1 parent 91f85be commit 126ef29
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import vue from '@vitejs/plugin-vue';

// https://vitejs.dev/config/
export default defineConfig({
base: "/EvalAI",
base: "/",
build: {
outDir: "dist"
},
Expand Down
2 changes: 1 addition & 1 deletion settings/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

TEST = False

ALLOWED_HOSTS = []
ALLOWED_HOSTS = ["*"]

EVALAI_API_SERVER = os.environ.get(
"EVALAI_API_SERVER", "http://localhost:8000"
Expand Down

0 comments on commit 126ef29

Please sign in to comment.