Skip to content

Commit 6176c72

Browse files
authored
Merge pull request #68 from segment-oj/fix-apiurl-fisher
fix apiurl
2 parents 0dd3252 + d52faab commit 6176c72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/apiurl.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ let apiurl = (url) => {
55
url = '/' + url;
66
}
77
let res = sfconfig.api.server + url;
8-
return res;
8+
return encodeURI(res);
99
};
1010

1111
export default apiurl;

0 commit comments

Comments
 (0)