demo.go-admin.com icon indicating copy to clipboard operation
demo.go-admin.com copied to clipboard

rootPath should be changed to "."

Open camilovietnam opened this issue 3 years ago • 0 comments

Brief description

In the file main.go, line 44 there is a commented out line that sets rootPath to ".", and in line 43 we set it to "/data/www/go-admin-en" which is incorrect unless you are using this folder as your working directory.

It would be better if the rootPath variable was set by default to "."

#Link https://github.com/GoAdminGroup/demo.go-admin.com/blob/631b3c7e3765f8966234a0b0d611bdc729da9b3f/main.go#L43

camilovietnam avatar Nov 02 '21 09:11 camilovietnam