fix: 部署时使用的端口错误的问题。
This commit is contained in:
parent
0c1eda8299
commit
6de1f73d47
@ -1,7 +1,7 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
apps: [
|
apps: [
|
||||||
{
|
{
|
||||||
name: "fennec-bs",
|
name: "fennec-fe",
|
||||||
script: "serve",
|
script: "serve",
|
||||||
args: "",
|
args: "",
|
||||||
watch: false,
|
watch: false,
|
||||||
@ -9,7 +9,7 @@ module.exports = {
|
|||||||
log_date_format: "MM-DD HH:mm:ss.SSS Z",
|
log_date_format: "MM-DD HH:mm:ss.SSS Z",
|
||||||
env: {
|
env: {
|
||||||
PM2_SERVE_PATH: "./build",
|
PM2_SERVE_PATH: "./build",
|
||||||
PM2_SERVE_PORT: 7135,
|
PM2_SERVE_PORT: 7123,
|
||||||
PM2_SERVE_SPA: "true",
|
PM2_SERVE_SPA: "true",
|
||||||
PM2_SERVE_HOMEPAGE: "/index.html",
|
PM2_SERVE_HOMEPAGE: "/index.html",
|
||||||
},
|
},
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "fennec-bs",
|
"name": "fennec-bs",
|
||||||
"version": "0.1.1",
|
"version": "0.2.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@apollo/client": "^3.3.15",
|
"@apollo/client": "^3.3.15",
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
work correctly both with client-side routing and a non-root public URL.
|
work correctly both with client-side routing and a non-root public URL.
|
||||||
Learn how to configure a non-root public URL by running `npm run build`.
|
Learn how to configure a non-root public URL by running `npm run build`.
|
||||||
-->
|
-->
|
||||||
<title>React App</title>
|
<title>Fennec</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<noscript>You need to enable JavaScript to run this app.</noscript>
|
<noscript>You need to enable JavaScript to run this app.</noscript>
|
||||||
|
Loading…
Reference in New Issue
Block a user