Skip to content

Commit

Permalink
Merge pull request #18 from fan-tastic-z/fix-generate_config_database…
Browse files Browse the repository at this point in the history
…_url

fix: generate config database_url error
  • Loading branch information
fankaiLiu authored Dec 11, 2023
2 parents 8377e27 + 8f668d2 commit c2285a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/template/config/config.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ cors_allow_origin=["https://salvo.rs"]
[database]
{{#if is_sea_orm_or_sqlx}}
{{#if is_postgres}}
database_url=postgresql://liufankai:1@localhost/salvo_demo
database_url="postgresql://liufankai:1@localhost/salvo_demo"
{{/if}}
{{#if is_sqlite}}
database_url="sqlite:data/demo.db"
Expand Down

0 comments on commit c2285a7

Please sign in to comment.