From 0632ee97dc1625b4f24090546fbad7a1edabf496 Mon Sep 17 00:00:00 2001 From: zack Date: Tue, 22 Oct 2024 17:18:06 -0400 Subject: [PATCH] also set devprod --- config/dev.exs | 6 +++++- config/prod.exs | 4 ++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/config/dev.exs b/config/dev.exs index a071a22..8627c25 100644 --- a/config/dev.exs +++ b/config/dev.exs @@ -50,7 +50,11 @@ config :zoeyscomputer, ZoeyscomputerWeb.Endpoint, # # If desired, both `http:` and `https:` keys can be # configured to run both http and https servers on -# different ports. +# different ports + +config :nanoid, + size: 7, + alphabet: "_-0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ" # Watch static and templates for browser reloading. config :zoeyscomputer, ZoeyscomputerWeb.Endpoint, diff --git a/config/prod.exs b/config/prod.exs index d9ca7f8..f97d46f 100644 --- a/config/prod.exs +++ b/config/prod.exs @@ -17,5 +17,9 @@ config :swoosh, local: false # Do not print debug messages in production config :logger, level: :info +config :nanoid, + size: 7, + alphabet: "_-0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ" + # Runtime production configuration, including reading # of environment variables, is done on config/runtime.exs.