diff --git a/config/application.rb b/config/application.rb
index 54fd59c9..50dba58b 100644
--- a/config/application.rb
+++ b/config/application.rb
@@ -31,6 +31,6 @@ module Timeoverflow
# Guard against DNS rebinding attacks by permitting hosts
# localhost is necessary for the docker image
- config.hosts = ENV.fetch('ALLOWED_HOSTS', 'localhost').split(' ')
+ config.hosts = nil
end
end
I was unable to get this to work with 👇
https://git.coopcloud.tech/coop-cloud/timeoverflow/src/commit/9760724ec43a8da04196f4b99add230bb0b7aecf/compose.yml#L10
So, I temporarily had to patch the image itself 🙈
```diff
diff --git a/config/application.rb b/config/application.rb
index 54fd59c9..50dba58b 100644
--- a/config/application.rb
+++ b/config/application.rb
@@ -31,6 +31,6 @@ module Timeoverflow
# Guard against DNS rebinding attacks by permitting hosts
# localhost is necessary for the docker image
- config.hosts = ENV.fetch('ALLOWED_HOSTS', 'localhost').split(' ')
+ config.hosts = nil
end
end
```
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
I was unable to get this to work with 👇
So, I temporarily had to patch the image itself 🙈