switch between amarula and a-ads
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
package init
|
||||
|
||||
import (
|
||||
"math/rand"
|
||||
"os"
|
||||
"time"
|
||||
|
||||
"fornaxian.com/pixeldrain-web/webcontroller"
|
||||
"github.com/Fornaxian/config"
|
||||
@@ -34,6 +36,9 @@ maintenance_mode = false
|
||||
func Init(r *httprouter.Router, prefix string, setLogLevel bool) {
|
||||
log.Info("Starting web UI server (PID %v)", os.Getpid())
|
||||
|
||||
// Seed the RNG
|
||||
rand.Seed(time.Now().UnixNano())
|
||||
|
||||
var webconf = &PixelWebConfig{}
|
||||
var _, err = config.New(
|
||||
DefaultConfig,
|
||||
|
Reference in New Issue
Block a user