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:
parent
f146f5390b
commit
9c11f0e8f4
1 changed files with 1 additions and 0 deletions
1
main.go
1
main.go
|
@ -70,6 +70,7 @@ func main() {
|
||||||
env = os.Getenv("PORT")
|
env = os.Getenv("PORT")
|
||||||
if strings.Contains(env, "/") {
|
if strings.Contains(env, "/") {
|
||||||
router.RunUnix(env)
|
router.RunUnix(env)
|
||||||
|
os.Chmod(env, 660)
|
||||||
} else {
|
} else {
|
||||||
router.Run()
|
router.Run()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue