Skip to content

Commit

Permalink
Update application config
Browse files Browse the repository at this point in the history
  • Loading branch information
luciajanikova committed Jan 22, 2024
1 parent d47ea36 commit aa9b843
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@ class Application < Rails::Application
class: "Archivation::ArchiveAllArchivedMessageThreadsJob",
description: "Regular job to archive message_threads"
}

# Set static files server
config.public_file_server.headers = {}
config.public_file_server.headers['Access-Control-Allow-Origin'] = '*'
config.public_file_server.headers['Content-Type'] = 'text/plain; charset=utf-8'

# Configuration for the application, engines, and railties goes here.
#
# These settings can be overridden in specific environments using the files
Expand Down

0 comments on commit aa9b843

Please sign in to comment.