Skip to content

Commit

Permalink
fix https check function
Browse files Browse the repository at this point in the history
  • Loading branch information
virusdefender committed Jan 6, 2018
1 parent 3d332a4 commit d611ede
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/admin/views/general/Dashboard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@
return this.infoData.env.STATIC_CDN_HOST
},
https () {
return document.URL.slice(0, 4) === 'https'
return document.URL.slice(0, 5) === 'https'
},
forceHttps () {
return this.infoData.env.FORCE_HTTPS
Expand Down

0 comments on commit d611ede

Please sign in to comment.