mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-04-23 11:39:19 -05:00
(Update) Secure Headers Cofig 🚀
- remove hardcoding
This commit is contained in:
@@ -498,8 +498,8 @@ return [
|
||||
|
||||
'connect-src' => [
|
||||
'allow' => [
|
||||
'https://unit3d.org:8443/socket.io/',
|
||||
'wss://unit3d.org:8443/socket.io/',
|
||||
'https://'.substr(env('APP_URL'), 7).':8443/socket.io/',
|
||||
'wss://'.substr(env('APP_URL'), 7).':8443/socket.io/',
|
||||
],
|
||||
'self' => true,
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user