Skip to content

Commit

Permalink
🎯修正auto auth字段😏
Browse files Browse the repository at this point in the history
  • Loading branch information
OrageKK committed Oct 11, 2023
1 parent 157d087 commit 593ed9d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "vuepress-plugin-meting2",
"description": "Wow, such a beautiful html5 music player (with Meting API) support vuepress next",
"version": "1.2.0",
"version": "1.2.1",
"license": "MIT",
"type": "module",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions src/utils/meting.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,12 @@ const ParseMeting = (
): string | undefined => {
if (m && m.auto) {
m = ParseLink(m.auto);
if (m.server && m.type && m.mid && m.auth) {
if (m.server && m.type && m.mid) {
let url = api
.replace(":server", m.server)
.replace(":type", m.type)
.replace(":id", m.mid)
.replace(":auth", m.auth);
.replace(":auth", m.auth ?? 'auth');
return url;
}
return "";
Expand Down

0 comments on commit 593ed9d

Please sign in to comment.