1
0
Fork 0
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:
Nebel 2022-08-28 23:27:02 +09:00
parent 4a19964aaf
commit ca6d760b54

View file

@ -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`;