First import
This commit is contained in:
6
template/api/config/default.toml
Normal file
6
template/api/config/default.toml
Normal file
@@ -0,0 +1,6 @@
|
||||
[application]
|
||||
port = 8000
|
||||
# See https://docs.rs/tracing-subscriber/latest/tracing_subscriber/struct.EnvFilter.html
|
||||
log_directive = "info"
|
||||
api_path = ""
|
||||
front_base_url = "http://localhost:8080"
|
||||
5
template/api/config/dev.toml
Normal file
5
template/api/config/dev.toml
Normal file
@@ -0,0 +1,5 @@
|
||||
[application]
|
||||
log_directive = "debug"
|
||||
static_dir = "../web/dist"
|
||||
api_path = "/api"
|
||||
static_path = ""
|
||||
4
template/api/config/prod.toml
Normal file
4
template/api/config/prod.toml
Normal file
@@ -0,0 +1,4 @@
|
||||
[application]
|
||||
static_dir = "."
|
||||
api_path = "/api"
|
||||
static_path = ""
|
||||
2
template/api/config/test.toml
Normal file
2
template/api/config/test.toml
Normal file
@@ -0,0 +1,2 @@
|
||||
[application]
|
||||
log_directive = "debug"
|
||||
Reference in New Issue
Block a user