mirror of
https://github.com/wassname/side-by-side.git
synced 2026-09-17 12:50:44 +08:00
Fix multislashes
This commit is contained in:
@@ -6,7 +6,7 @@ angular.module("sideBySide").factory "fetch",
|
||||
# @param base [String] Path to config file directory
|
||||
# @return [Object] Promises and config data
|
||||
(base) ->
|
||||
file = base + '/config.json'
|
||||
file = base + 'config.json'
|
||||
$http.get(file).then (config) ->
|
||||
if typeof config.data != "object"
|
||||
throw "Config file " + file + " doesn't contain data."
|
||||
|
||||
Reference in New Issue
Block a user