From 04551d6fbdb410887b869dc889c32fdf7019b7a0 Mon Sep 17 00:00:00 2001 From: Eugene Burmakin Date: Fri, 1 Nov 2024 19:10:20 +0100 Subject: [PATCH] Enable serving static files from the `public` directory in development mode. --- .app_version | 2 +- CHANGELOG.md | 6 ++++++ config/environments/development.rb | 2 ++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.app_version b/.app_version index 8ddf20e4..18eaa035 100644 --- a/.app_version +++ b/.app_version @@ -1 +1 @@ -0.15.12 +0.15.13 diff --git a/CHANGELOG.md b/CHANGELOG.md index f2a3b8a7..08c9f203 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). +# 0.15.13 - 2024-11-01 + +### Changed + +- Enable serving static files from the `public` directory in development mode. + # 0.15.12 - 2024-11-01 ### Added diff --git a/config/environments/development.rb b/config/environments/development.rb index 2f996a67..43f8e399 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -35,6 +35,8 @@ Rails.application.configure do config.cache_store = :redis_cache_store, { url: ENV['REDIS_URL'] } end + config.public_file_server.enabled = true + # Store uploaded files on the local file system (see config/storage.yml for options). config.active_storage.service = :local