Skip to content
This repository was archived by the owner on Sep 8, 2022. It is now read-only.

Commit de82066

Browse files
author
p_hashimoto_naoaki
committed
fix(agreed): 画像をローカルから取ってくるよう修正
1 parent 0134f17 commit de82066

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

spec/agreed/salon/getSalonById.json5

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
},
2020
values: {
2121
name: 'サロン',
22-
pc: 'http://thecatapi.com/api/images/get?format=src',
23-
mobile: 'http://thecatapi.com/api/images/get?format=src',
22+
pc: '/public/cat_large.jpeg',
23+
mobile: '/public/cat_small.jpeg',
2424
},
2525
},
2626
}

spec/agreed/salon/getSalonList.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ for (let i = 1; i <= SALON_SEARCH_MAX_COUNT; i++) {
88
id: i.toString(),
99
last_update: '2017-01-04 00:00:00',
1010
name: `サロン${i}`,
11-
logo_image: 'https://cataas.com/cat',
12-
logo_image_square: 'https://cataas.com/cat?height=100',
11+
logo_image: '/public/cat_large.jpeg',
12+
logo_image_square: '/public/cat_small.jpeg',
1313
urls: {
14-
pc: 'https://cataas.com/cat',
15-
mobile: 'https://cataas.com/cat?height=100',
14+
pc: '/public/cat_large.jpeg',
15+
mobile: '/public/cat_small.jpeg',
1616
},
1717
description: `コメント${i}`,
1818
},

spec/agreed/style/getStyle.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ for (let i = 1; i <= 100; i++) {
55
name: 'ヘアスタイル',
66
photo: {
77
front: {
8-
m: 'https://cataas.com/cat?height=200',
8+
m: '/public/cat_medium.jpeg',
99
},
1010
},
1111
});

statics/cat_large.jpeg

14.6 KB
Loading

statics/cat_medium.jpeg

5.2 KB
Loading

statics/cat_small.jpeg

25.2 KB
Loading

0 commit comments

Comments
 (0)