BinaryAssets & Fixes

+ Added binary assets
+ Added font Source Code Pro for the web logging viewer
+ Removed unreachable code at package static files
This commit is contained in:
Thorsten committed 2015-01-30 17:45:30 +01:00
1 parent 8f43171edf
commit f0c73c3fd5
6 files changed
+346 -4

No files matched your search

+2
View File
@@ -1,6 +1,7 @@
package System
import (
"github.com/SommerEngineering/Ocean/BinaryAssets"
"github.com/SommerEngineering/Ocean/ConfigurationDB"
"github.com/SommerEngineering/Ocean/Handlers"
"github.com/SommerEngineering/Ocean/ICCC"
@@ -29,6 +30,7 @@ func InitHandlers() {
Handlers.AddAdminHandler(`/staticFiles/`, StaticFiles.HandlerStaticFiles)
Handlers.AddAdminHandler(`/next/number`, NumGen.HandlerGetNext)
Handlers.AddAdminHandler(`/ICCC`, ICCC.ICCCHandler)
Handlers.AddAdminHandler(`/binaryAssets/`, BinaryAssets.HandlerBinaryAssets)
if ConfigurationDB.Read(`MapStaticFiles2Root`) == "true" {
Log.LogShort(senderName, LM.CategorySYSTEM, LM.LevelINFO, LM.MessageNameSTARTUP, `The static files are mapped to the root.`)