Skip to content

Commit

Permalink
ci: 🎡 update tempalte
Browse files Browse the repository at this point in the history
  • Loading branch information
hzz780 committed Aug 12, 2024
1 parent 2a293e8 commit 91a8050
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions apps/create-aelf-dapp/lib/generator/templates/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,6 @@ next-env.d.ts

# npm pack local test
package

# git ls-files > filelist.txt
filelist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ server {
# template
location / {
proxy_pass http://localhost:3005;
proxy_ssl_verify off; # 如果使用自签名证书,禁用证书验证
proxy_ssl_verify off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
Expand All @@ -29,7 +29,7 @@ server {
# https://github.com/AElfProject/backend-templates
location /v1/token {
proxy_pass https://localhost:44376/token;
proxy_ssl_verify off; # 如果使用自签名证书,禁用证书验证
proxy_ssl_verify off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
Expand All @@ -42,7 +42,7 @@ server {
proxy_set_header X-real-ip $remote_addr;
proxy_set_header X-forward-for $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_ssl_verify off; # 如果使用自签名证书,禁用证书验证
proxy_ssl_verify off;
proxy_pass https://localhost:44376/api;
}
Expand Down
2 changes: 1 addition & 1 deletion apps/create-aelf-dapp/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "create-aelf-dapp",
"version": "0.1.6",
"version": "0.1.7",
"description": "Create aelf Dapp based on Next.js with one command",
"files": [
"cli.js",
Expand Down

0 comments on commit 91a8050

Please sign in to comment.