Parcourir la source

update json path

huai-sian il y a 3 ans
Parent
commit
9f3eea4520
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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];