andy 2 роки тому
батько
коміт
e224d4512d

BIN
content/.DS_Store


BIN
content/blog/.DS_Store


BIN
content/collection/.DS_Store


BIN
content/furniture_design_list/.DS_Store


BIN
content/maincategories/.DS_Store


BIN
content/news/.DS_Store


+ 0 - 4
content/room_planner/room_planner.md

@@ -1,4 +0,0 @@
-+++
-title = "room_planner"
-id = "room_planner"
-+++

+ 1 - 1
layouts/blog/list.html

@@ -103,7 +103,7 @@
       (function getContentsData() {
         // 線上版網址 http://192.53.174.202:9001/api/
         // 本地端網址 http://localhost:9001/api/
-        fetch('http://192.53.174.202:9001/api/contents?url=/blog').then(res => res.json()).then(list => {
+        fetch('https://bhouse2.ptt.cx:9002/api/contents?url=/blog').then(res => res.json()).then(list => {
           contentsData = list;
           // contentsData.shift();
           filterCategory();

+ 1 - 1
layouts/collection/list.html

@@ -193,7 +193,7 @@
       (function getContentsData() {
         // 線上版網址 http://192.53.174.202:9001/api/
         // 本地端網址 http://localhost:9001/api/
-        fetch('http://192.53.174.202:9001/api/contents?url=/collection').then(res => res.json()).then(list => {
+        fetch('https://bhouse2.ptt.cx:9002/api/contents?url=/collection').then(res => res.json()).then(list => {
           contentsData = list;
           console.log('contentsData', contentsData);
           // filterCategory();

+ 1 - 1
resources/bhouse.js

@@ -228,7 +228,7 @@ let fb_link = `https://www.facebook.com/sharer.php?u=${location.href}`;
 let collection_icon_fb = document.getElementById('collection_icon_fb');
 $("#collection_icon_fb").attr("href",fb_link);
 
-let line_link = `http://line.naver.jp/R/msg/text/?${location.href}`;
+let line_link = `https://social-plugins.line.me/lineit/share?url=${location.href}`;
 let collection_icon_line = document.getElementById('collection_icon_line');
 
 $("#collection_icon_line").attr("href",line_link);

+ 1 - 1
themes/hugo-universal-theme-master/static/js/cz_filter.js

@@ -41,7 +41,7 @@ function update_info(type, ping, budget, room) {
   // 讀取作品集資料(json)
   // 線上版網址 http://192.53.174.202:9001/api/
   // 本地端網址 http://localhost:9001/api/
-  fetch('http://192.53.174.202:9001/api/contents?url=/collection')
+  fetch('https://bhouse2.ptt.cx:9002/api/contents?url=/collection')
     .then(response => response.json())
     .then(items => {
       console.log(items)