add first-in-first-out queue for image prompts, and add pagination
This commit is contained in:
@@ -12,9 +12,10 @@ config :diffuser,
|
||||
|
||||
# Configures the endpoint
|
||||
config :diffuser, DiffuserWeb.Endpoint,
|
||||
url: [host: "localhost"],
|
||||
url: [host: "https://ai.silentsilas.com"],
|
||||
render_errors: [view: DiffuserWeb.ErrorView, accepts: ~w(html json), layout: false],
|
||||
pubsub_server: Diffuser.PubSub,
|
||||
check_origin: false,
|
||||
live_view: [signing_salt: "mxn2AV/s"]
|
||||
|
||||
# Configures the mailer
|
||||
@@ -51,7 +52,7 @@ config :phoenix, :json_library, Jason
|
||||
config :waffle,
|
||||
storage: Waffle.Storage.Local,
|
||||
# or {:system, "ASSET_HOST"}
|
||||
asset_host: "http://localhost:4000"
|
||||
asset_host: "https://ai.silentsilas.com"
|
||||
|
||||
# Import environment specific config. This must remain at the bottom
|
||||
# of this file so it overrides the configuration defined above.
|
||||
|
@@ -19,7 +19,7 @@ config :diffuser, Diffuser.Repo,
|
||||
config :diffuser, DiffuserWeb.Endpoint,
|
||||
# Binding to loopback ipv4 address prevents access from other machines.
|
||||
# Change to `ip: {0, 0, 0, 0}` to allow access from other machines.
|
||||
http: [ip: {127, 0, 0, 1}, port: 4000],
|
||||
http: [ip: {0, 0, 0, 0}, port: 4000],
|
||||
check_origin: false,
|
||||
code_reloader: true,
|
||||
debug_errors: true,
|
||||
|
Reference in New Issue
Block a user