From 72b320ed4209cbcca53862e7d3ed6f5fa8dad8a2 Mon Sep 17 00:00:00 2001 From: Anna Bargiel Date: Mon, 11 Dec 2023 13:40:31 +0100 Subject: [PATCH] WIP static file --- fly.toml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/fly.toml b/fly.toml index d30833a6..f0b9da98 100644 --- a/fly.toml +++ b/fly.toml @@ -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] @@ -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 = "/"