@@ -1,4 +0,0 @@
-+++
-title = "room_planner"
-id = "room_planner"
@@ -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();
@@ -193,7 +193,7 @@
- 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 => {
console.log('contentsData', contentsData);
// filterCategory();
@@ -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);
@@ -41,7 +41,7 @@ function update_info(type, ping, budget, room) {
// 讀取作品集資料(json)
- 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)