aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorFChannel <=>2021-01-13 19:38:21 -0800
committerFChannel <=>2021-01-13 19:38:21 -0800
commit09d041e10215adc0a804cf8197133752c75aeebf (patch)
tree4369853539cb0c62baa13dc7ef294b29f0cabfdd /main.go
parent8fb8ccafa3452d4987098ccef5c1c0bf247db555 (diff)
added readme info
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();