refactor: use local uri for dev
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -6,5 +6,5 @@ mixer_discord_bot.iml
|
|||||||
.vscode
|
.vscode
|
||||||
|
|
||||||
# Rust
|
# Rust
|
||||||
Secrets.toml
|
Secrets*.toml
|
||||||
target/
|
target/
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ impl TypeMapKey for CreatorContainer {
|
|||||||
#[shuttle_runtime::main]
|
#[shuttle_runtime::main]
|
||||||
async fn serenity(
|
async fn serenity(
|
||||||
#[shuttle_shared_db::Postgres(
|
#[shuttle_shared_db::Postgres(
|
||||||
// local_uri = "postgres://postgres:{secrets.PASSWORD}@localhost:5432/postgres"
|
local_uri = "postgres://postgres:admin@localhost:5432/mixer_bot"
|
||||||
)]
|
)]
|
||||||
pool: PgPool,
|
pool: PgPool,
|
||||||
#[shuttle_secrets::Secrets] secret_store: SecretStore,
|
#[shuttle_secrets::Secrets] secret_store: SecretStore,
|
||||||
|
|||||||
Reference in New Issue
Block a user