fix: commitMP3 and countrycode to countryCode (#41)

* feat: add config to resolve path alias.

* feat: use vue-i18n for language switch

* feat: add .editorconfig for ide

* fix: add no-referrer to avoid CROB

* fix: setCookie and fix typo

* feat: integrate vue-i18n

* feat: player component i18n support

* fix: duplicate key warning in explore page

* fix: like songs number changed in library page

* fire: remove todo

* fix: same text search on enter will cause error

* fix: scrobble error params type

* feat: prettier task supported

* fix: prettier ignore config update

* fix: conflict

* fix: commitMP3 and countrycode to countryCode

* lint: prettier
This commit is contained in:
Hawtim Zhang 2020-10-22 22:35:29 +08:00 committed by GitHub
parent c042faa001
commit e3043e7918
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 17 additions and 4 deletions

View file

@ -70,3 +70,8 @@ export function throttle(fn, time) {
}, time);
};
}
export function updateHttps(url) {
if (!url) return "";
return url.replace(/^http:/, "https:");
}