Browse Source

update json path

huai-sian 3 years ago
parent
commit
9f3eea4520
1 changed files with 1 additions and 1 deletions
  1. 1 1
      js/index.js

+ 1 - 1
js/index.js

@@ -24,7 +24,7 @@ $(".sec-01__slider").slick({
     let result;
       $.ajax({
           method: "GET",
-          url: "../json/realtime.json",
+          url: "./json/realtime.json",
           dataType: "json",
       }).done(function (msg) {
           result = [...msg];