From d09359c952786677cdcc3806cff40c37128ef9c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Denis=20Nu=C8=9Biu?= Date: Mon, 22 Oct 2018 22:31:37 +0300 Subject: [PATCH] Updating import path after github name change --- .gitignore | 9 +++++++++ docker-config.json | 18 ++++++++++++++++++ main.go | 2 +- server/connection.go | 2 +- 4 files changed, 29 insertions(+), 2 deletions(-) create mode 100644 .gitignore create mode 100644 docker-config.json diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ce16d1f --- /dev/null +++ b/.gitignore @@ -0,0 +1,9 @@ +# OS Files +*.DS_Store + +# IDE's +*.idea/* +*.vscode/* + +# Configuration File +config.json diff --git a/docker-config.json b/docker-config.json new file mode 100644 index 0000000..e5e3cc9 --- /dev/null +++ b/docker-config.json @@ -0,0 +1,18 @@ +{ + "address": "0.0.0.0", + "port": 8080, + "maxDirDepth": 30, + "absoluteServePath": "/externalVolume", + "pic": { + "color": true, + "x": 197, + "y": 50 + }, + "upload": { + "enabled": true, + "directory": "upload", + "timeout": 5, + "address": "0.0.0.0", + "port": 8081 + } +} diff --git a/main.go b/main.go index eed04b7..478a669 100644 --- a/main.go +++ b/main.go @@ -6,7 +6,7 @@ import ( "log" "sync" - "github.com/metonimie/simplFT/server" + "github.com/dnutiu/simplFT/server" ) func main() { diff --git a/server/connection.go b/server/connection.go index baf51e0..6d58c0f 100644 --- a/server/connection.go +++ b/server/connection.go @@ -16,8 +16,8 @@ import ( "sync" + "github.com/dnutiu/simplFT/server/config" "github.com/fsnotify/fsnotify" - "github.com/metonimie/simplFT/server/config" "github.com/spf13/viper" )