Fix whitespace

This commit is contained in:
Mark Sagi-Kazar
2019-12-18 15:56:12 +01:00
parent 9bd5ae5197
commit f141f2133b
19 changed files with 0 additions and 33 deletions

View File

@@ -176,7 +176,6 @@ func loadTemplates(c webConfig, templatesDir string) (*templates, error) {
//assetPath is static/main.css
//relativeURL("/dex", "/dex/auth", "static/main.css") = "../static/main.css"
func relativeURL(serverPath, reqPath, assetPath string) string {
splitPath := func(p string) []string {
res := []string{}
parts := strings.Split(path.Clean(p), "/")