Skip to content

Commit

Permalink
add version to footer and version check feature
Browse files Browse the repository at this point in the history
  • Loading branch information
mylxsw committed Sep 10, 2019
1 parent 47c7ad5 commit df36593
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/views/layouts/default.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@
$(function () {
var version = '{{ config('wizard.version', '1') }}';
$.getJSON('https://aicode.cc/wizard-update/version?callback=?', function (data) {
if (data.tag_name !== version) {
if (data.tag_name === version) {
return;
}
Expand Down

0 comments on commit df36593

Please sign in to comment.