mirror of
https://github.com/kou029w/quot.git
synced 2025-01-18 16:08:03 +00:00
use 127.0.0.1
This commit is contained in:
parent
4a19964aaf
commit
ca6d760b54
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ import esbuild from "esbuild";
|
|||
|
||||
async function main() {
|
||||
const port = Number(process.env.PORT ?? "8080");
|
||||
const apiUrl = process.env.QUOT_API_URL || "http://localhost:3000/";
|
||||
const apiUrl = process.env.QUOT_API_URL || "http://127.0.0.1:3000/";
|
||||
const publicDir = __dirname;
|
||||
const htmlPath = `${publicDir}/index.html`;
|
||||
const scriptPath = `${publicDir}/index.ts`;
|
||||
|
|
Loading…
Add table
Reference in a new issue