mirror of
https://github.com/elyby/chrly.git
synced 2025-05-31 14:11:51 +05:30
Removed buildUrl() helper for automatically adding ely.by domain to skin. Now it's universtal
This commit is contained in:
@@ -79,15 +79,6 @@ func parseUsername(username string) string {
|
||||
return username
|
||||
}
|
||||
|
||||
func buildElyUrl(route string) string {
|
||||
prefix := "http://ely.by"
|
||||
if !strings.HasPrefix(route, prefix) {
|
||||
route = prefix + route
|
||||
}
|
||||
|
||||
return route
|
||||
}
|
||||
|
||||
func waitForSignal() os.Signal {
|
||||
ch := make(chan os.Signal)
|
||||
signal.Notify(ch, syscall.SIGINT, syscall.SIGTERM)
|
||||
|
||||
Reference in New Issue
Block a user