Skip to content
This repository has been archived by the owner on Sep 10, 2023. It is now read-only.

Commit

Permalink
Fix prod env, fix discord channel ID
Browse files Browse the repository at this point in the history
  • Loading branch information
EricPickup committed Aug 4, 2019
1 parent a2a3b9c commit 3191eca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/services/discord_message_service.rb
@@ -1,6 +1,6 @@
class DiscordMessageService
DISCORD_API_ENDPOINT = "https://discordapp.com/api"
DISCORD_EVENTS_CHANNEL_ID = "607374824888729611"
DISCORD_EVENTS_CHANNEL_ID = "489122007506616321"

def self.send_message!(channel_id, options)
RestClient.post(
Expand Down
2 changes: 1 addition & 1 deletion config/environments/production.rb
Expand Up @@ -21,7 +21,7 @@

# Disable serving static files from the `/public` folder by default since
# Apache or NGINX already handles this.
config.public_file_server.enabled = ENV['RAILS_SERVE_STATIC_FILES'].present?
config.public_file_server.enabled = true

# Compress JavaScripts and CSS.
config.assets.js_compressor = :uglifier
Expand Down

0 comments on commit 3191eca

Please sign in to comment.