mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-11-23 20:35:24 +01:00
fix for base paths
This commit is contained in:
parent
68c5c49fdc
commit
624f2c3527
@ -1,7 +1,7 @@
|
||||
require.config({
|
||||
baseUrl: 'public/js',
|
||||
baseUrl: document.baseURI + 'public/js',
|
||||
waitSeconds: 10,
|
||||
paths: {
|
||||
async: 'public/vendor/async'
|
||||
async: document.baseURI + 'public/vendor/async'
|
||||
}
|
||||
});
|
@ -161,6 +161,9 @@ func init() {
|
||||
|
||||
Cookie = securecookie.New(hash, encryption)
|
||||
WebHostURL, _ = url.Parse(Config.WebHost)
|
||||
if len(WebHostURL.String()) == 0 {
|
||||
WebHostURL = nil
|
||||
}
|
||||
}
|
||||
|
||||
func (conf *configType) GenerateCookieSecrets() {
|
||||
|
Loading…
Reference in New Issue
Block a user