chore: commit for remote

This commit is contained in:
ethanf 2024-10-12 01:44:23 -05:00
parent a4706047e9
commit 65b76822d0
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@
"scripts": { "scripts": {
"dev": "deno task dev:api & deno task dev:vite", "dev": "deno task dev:api & deno task dev:vite",
"dev:api": "deno run --allow-env --allow-read --allow-net api/main.ts", "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", "build": "tsc -b && vite build",
"serve": "deno task build && deno task dev:api", "serve": "deno task build && deno task dev:api",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0", "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",

View File

@ -38,7 +38,7 @@ export default function Index() {
const handleLogin = async () => { const handleLogin = async () => {
try { try {
const response = await fetch("http://localhost:8000/auth/login"); const response = await fetch("/auth/login");
if (!response.ok) { if (!response.ok) {
throw new Error("Failed to fetch authorization URL"); throw new Error("Failed to fetch authorization URL");
} }