Skip to content

Commit

Permalink
fix: https to http
Browse files Browse the repository at this point in the history
  • Loading branch information
xsf0105 committed Jun 13, 2023
1 parent 4e16db4 commit 395ad17
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,6 +1,6 @@
{
"name": "quark-doc-header",
"version": "0.3.21",
"version": "0.3.22",
"keywords": [
"frontend",
"quark",
Expand Down
4 changes: 2 additions & 2 deletions src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class MyComponent extends QuarkElement {
githubUrl = ''

@state() // 首页地址
homeUrl = 'https://quark.hellobike.com'
homeUrl = ''

@state() // 指南 url
guideUrl = ''
Expand All @@ -88,7 +88,7 @@ class MyComponent extends QuarkElement {
super()
this.#isZhLang = localStorage.getItem("language") === "zh-CN"
this.#ecosystemLangs = this.#isZhLang ? langs["zh-CN"] : langs["en-US"]
this.#curHost = `https://${location.host}` // e.g. https://vue-quarkdesign.hellobike.com
this.#curHost = location.origin // e.g. https://vue-quarkdesign.hellobike.com
this.#isDocNotReady = false
this.#isQuarkc = location.host.indexOf('quark.hellobike.com') > -1 ? true : false

Expand Down

0 comments on commit 395ad17

Please sign in to comment.