Skip to content

Commit

Permalink
Fix end of file trailing extra newline issue
Browse files Browse the repository at this point in the history
  • Loading branch information
kumaranvpl committed Nov 22, 2024
1 parent 717b319 commit b2b3464
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,7 @@ server {
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
}{%- endif %}
{% if "fastapi" in cookiecutter.app_type %}
}{%- endif %}{% if "fastapi" in cookiecutter.app_type %}
# Fastapi server block
server {
listen $FASTAPI_PORT;
Expand Down Expand Up @@ -108,8 +107,7 @@ server {
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
}
}{%- endif %}
{% if "mesop" in cookiecutter.app_type %}
}{%- endif %}{% if "mesop" in cookiecutter.app_type %}
# Mesop server block
server {
listen $MESOP_PORT;
Expand Down
6 changes: 2 additions & 4 deletions {{cookiecutter.project_slug}}/fly.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ primary_region = 'ams'

[[services.ports]]
handlers = ["tls", "http"]
port = 8000{%- endif %}
{% if "fastapi" in cookiecutter.app_type %}
port = 8000{%- endif %}{% if "fastapi" in cookiecutter.app_type %}
[[services]]
http_checks = []
internal_port = 8008
Expand All @@ -48,8 +47,7 @@ primary_region = 'ams'

[[services.ports]]
handlers = ["tls", "http"]
port = 8008{%- endif %}
{% if "mesop" in cookiecutter.app_type %}
port = 8008{%- endif %}{% if "mesop" in cookiecutter.app_type %}
[[services]]
http_checks = []
internal_port = 8888
Expand Down

0 comments on commit b2b3464

Please sign in to comment.