0
Fork 0
mirror of https://codeberg.org/SafeTwitch/safetwitch-backend.git synced 2025-01-02 19:00:06 -05:00

Update permissions

This commit is contained in:
dragongoose 2023-09-27 19:27:25 -04:00
parent f146f5390b
commit 9c11f0e8f4
No known key found for this signature in database
GPG key ID: 01397EEC371CDAA5

View file

@ -70,6 +70,7 @@ func main() {
env = os.Getenv("PORT")
if strings.Contains(env, "/") {
router.RunUnix(env)
os.Chmod(env, 660)
} else {
router.Run()
}