chore: commit for remote
This commit is contained in:
parent
a4706047e9
commit
65b76822d0
@ -6,7 +6,7 @@
|
||||
"scripts": {
|
||||
"dev": "deno task dev:api & deno task dev:vite",
|
||||
"dev:api": "deno run --allow-env --allow-read --allow-net api/main.ts",
|
||||
"dev:vite": "deno run -A npm:vite",
|
||||
"dev:vite": "deno run -A npm:vite --host",
|
||||
"build": "tsc -b && vite build",
|
||||
"serve": "deno task build && deno task dev:api",
|
||||
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
||||
|
||||
@ -38,7 +38,7 @@ export default function Index() {
|
||||
|
||||
const handleLogin = async () => {
|
||||
try {
|
||||
const response = await fetch("http://localhost:8000/auth/login");
|
||||
const response = await fetch("/auth/login");
|
||||
if (!response.ok) {
|
||||
throw new Error("Failed to fetch authorization URL");
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user