styling, require a code for prompts, admin privs, ordering, filtering, jump-to-page
This commit is contained in:
@@ -10,9 +10,11 @@ import Config
|
||||
config :diffuser,
|
||||
ecto_repos: [Diffuser.Repo]
|
||||
|
||||
config :diffuser, Diffuser.Repo, migration_primary_key: [name: :id, type: :binary_id]
|
||||
|
||||
# Configures the endpoint
|
||||
config :diffuser, DiffuserWeb.Endpoint,
|
||||
url: [host: "https://ai.silentsilas.com"],
|
||||
url: [host: "127.0.0.1", port: 4000],
|
||||
render_errors: [view: DiffuserWeb.ErrorView, accepts: ~w(html json), layout: false],
|
||||
pubsub_server: Diffuser.PubSub,
|
||||
check_origin: false,
|
||||
@@ -52,7 +54,18 @@ config :phoenix, :json_library, Jason
|
||||
config :waffle,
|
||||
storage: Waffle.Storage.Local,
|
||||
# or {:system, "ASSET_HOST"}
|
||||
asset_host: "https://ai.silentsilas.com"
|
||||
asset_host: "http://gen.silentsilas.com"
|
||||
|
||||
config :tailwind,
|
||||
version: "3.1.6",
|
||||
default: [
|
||||
args: ~w(
|
||||
--config=tailwind.config.js
|
||||
--input=css/app.css
|
||||
--output=../priv/static/assets/app.css
|
||||
),
|
||||
cd: Path.expand("../assets", __DIR__)
|
||||
]
|
||||
|
||||
# Import environment specific config. This must remain at the bottom
|
||||
# of this file so it overrides the configuration defined above.
|
||||
|
@@ -2,6 +2,7 @@ import Config
|
||||
|
||||
# Configure your database
|
||||
config :diffuser, Diffuser.Repo,
|
||||
migration_primary_key: [name: :id, type: :binary_id],
|
||||
username: "postgres",
|
||||
password: "postgres",
|
||||
hostname: "localhost",
|
||||
@@ -26,7 +27,8 @@ config :diffuser, DiffuserWeb.Endpoint,
|
||||
secret_key_base: "mLAQpOCHwqL2jI5ljtcULJFRTpsXnvFSjLRM3HjFYJF8Rc1Uqh6o7PT7GaIQ+ERA",
|
||||
watchers: [
|
||||
# Start the esbuild watcher by calling Esbuild.install_and_run(:default, args)
|
||||
esbuild: {Esbuild, :install_and_run, [:default, ~w(--sourcemap=inline --watch)]}
|
||||
esbuild: {Esbuild, :install_and_run, [:default, ~w(--sourcemap=inline --watch)]},
|
||||
tailwind: {Tailwind, :install_and_run, [:default, ~w(--watch)]}
|
||||
]
|
||||
|
||||
# ## SSL Support
|
||||
@@ -73,3 +75,7 @@ config :phoenix, :stacktrace_depth, 20
|
||||
|
||||
# Initialize plugs at runtime for faster development compilation
|
||||
config :phoenix, :plug_init_mode, :runtime
|
||||
|
||||
if File.exists?("config/dev.secret.exs") do
|
||||
import_config "dev.secret.exs"
|
||||
end
|
||||
|
Reference in New Issue
Block a user