aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index 7ee8a84..9e3440a 100644
--- a/main.go
+++ b/main.go
@@ -45,7 +45,7 @@ type BoardAccess struct {
func main() {
if _, err := os.Stat("./public"); os.IsNotExist(err) {
- os.Mkdir("./public", os.ModeDir)
+ os.Mkdir("./public", 0755)
}
db := ConnectDB();