npm run serveした際にターミナルに出る、以下の画面からすでにURLが変更されたものになっていません。
functions[asia-northeast1-api]: http function initialized (http://localhost:5001/******/*******/api)
package.jsonです。
{ "name": "functions", "scripts": { "lint": "eslint --ext .js,.ts .", "build": "tsc", "serve": "npm run build && firebase emulators:start", "shell": "npm run build && firebase functions:shell", "start": "npm run shell", "deploy": "firebase deploy --only functions", "logs": "firebase functions:log" }, "engines": { "node": "14" }, "main": "lib/index.js", "dependencies": { "dotenv": "^10.0.0", "express": "^4.16.3", "firebase-admin": "^9.8.0", "firebase-functions": "^3.14.1" }, "devDependencies": { "@typescript-eslint/eslint-plugin": "^4.29.0", "@typescript-eslint/parser": "^4.29.0", "eslint": "^7.26.0", "eslint-config-google": "^0.14.0", "eslint-config-prettier": "^8.3.0", "eslint-plugin-import": "^2.22.0", "eslint-plugin-prettier": "^3.4.0", "firebase-functions-test": "^0.2.0", "prettier": "^2.3.2", "typescript": "^3.8.0" }, "private": true }
ご教授お願い致します。
あなたの回答
tips
プレビュー