Skip to content

Commit

Permalink
WIP static file
Browse files Browse the repository at this point in the history
  • Loading branch information
ania-hm committed Dec 11, 2023
1 parent 5354204 commit 72b320e
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions fly.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ console_command = "/rails/bin/rails console"
primary_region = "ams"
swap_size_mb = 512

[env]
RAILS_SERVE_STATIC_FILES= "1"

[build]

[deploy]
Expand All @@ -21,7 +24,3 @@ swap_size_mb = 512
auto_start_machines = true
min_machines_running = 1
processes = ["app"]

[[statics]]
guest_path = "/rails/public"
url_prefix = "/"

0 comments on commit 72b320e

Please sign in to comment.