We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
我在宝塔里部署,最后打开域名提示Invalid Host header
1、我先在宝塔里/www/wwwroot/下新建了一个文件夹,然后git clone --depth=1 https://github.com/xjh22222228/nav.git
2、然后新建了Node项目,填写项目目录:/www/wwwroot/{我的文件夹}/nav/ --> 启动选项填写yarn start --> 项目端口填写7001 同时我还更改了nav.config.tx里的仓库地址,宝塔里看到项目是提示启动了,最后我看到项目日志里提示了:
yarn run v1.22.19 $ ng serve --port=7001 Initial Chunk Files | Names | Size vendor.js | vendor | 9.15 MB styles.css | styles | 1.35 MB main.js | main | 679.06 kB polyfills.js | polyfills | 239.18 kB runtime.js | runtime | 6.15 kB | Initial Total | 11.40 MB Build at: 2023-05-28T05:39:23.562Z - Hash: 3356ddd11172d01bbbc1 - Time: 30306ms ** Angular Live Development Server is listening on localhost:7001, open your browser on http://localhost:7001/ ** ✔ Compiled successfully.
但最后打开网页提示 Invalid Host header
The text was updated successfully, but these errors were encountered:
No branches or pull requests
我在宝塔里部署,最后打开域名提示Invalid Host header
1、我先在宝塔里/www/wwwroot/下新建了一个文件夹,然后git clone --depth=1 https://github.com/xjh22222228/nav.git
2、然后新建了Node项目,填写项目目录:/www/wwwroot/{我的文件夹}/nav/ --> 启动选项填写yarn start --> 项目端口填写7001
同时我还更改了nav.config.tx里的仓库地址,宝塔里看到项目是提示启动了,最后我看到项目日志里提示了:
但最后打开网页提示 Invalid Host header
The text was updated successfully, but these errors were encountered: