Skip to content

Commit 81b280a

Browse files
committed
2 parents dbc4888 + 6176c72 commit 81b280a

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)