Skip to content

Commit 9e87b0b

Browse files
fix: set absolute image paths
1 parent 080c359 commit 9e87b0b

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

db.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,28 +2,28 @@
22
"posts": [
33
{
44
"id": 0,
5-
"image": "img/posts/1.jpg",
5+
"image": "/img/posts/1.jpg",
66
"title": "Reshaping Human Ressources",
77
"category": "News",
8-
"author": "img/avatars/1.jpg",
8+
"author": "/img/avatars/1.jpg",
99
"views": 832,
1010
"comments": 27
1111
},
1212
{
1313
"id": 1,
14-
"image": "img/posts/2.jpg",
14+
"image": "/img/posts/2.jpg",
1515
"title": "UX in HR management",
1616
"category": "Research",
17-
"author": "img/avatars/2.jpg",
17+
"author": "/img/avatars/2.jpg",
1818
"views": 741,
1919
"comments": 12
2020
},
2121
{
2222
"id": 1,
23-
"image": "img/posts/3.jpg",
23+
"image": "/img/posts/3.jpg",
2424
"title": "5 tips for optimal teamwork",
2525
"category": "Business Tips",
26-
"author": "img/avatars/4.jpg",
26+
"author": "/img/avatars/4.jpg",
2727
"views": 119,
2828
"comments": 8
2929
}
@@ -41,7 +41,7 @@
4141
"employees": [
4242
{
4343
"id": 0,
44-
"photo": "img/avatars/1.jpg",
44+
"photo": "/img/avatars/1.jpg",
4545
"firstName": "Matt",
4646
"lastName": "Williams",
4747
"fullName": "Matt Williams",
@@ -210,7 +210,7 @@
210210
},
211211
{
212212
"id": 1,
213-
"photo": "img/avatars/2.jpg",
213+
"photo": "/img/avatars/2.jpg",
214214
"firstName": "Rhonda",
215215
"lastName": "Jackson",
216216
"fullName": "Rhonda Jackson",
@@ -367,7 +367,7 @@
367367
},
368368
{
369369
"id": 2,
370-
"photo": "img/avatars/3.jpeg",
370+
"photo": "/img/avatars/3.jpeg",
371371
"firstName": "Emily",
372372
"lastName": "Cheng",
373373
"fullName": "Emily Cheng",
@@ -532,7 +532,7 @@
532532
},
533533
{
534534
"id": 3,
535-
"photo": "img/avatars/4.jpg",
535+
"photo": "/img/avatars/4.jpg",
536536
"firstName": "Mike",
537537
"lastName": "Wallace",
538538
"fullName": "Mike Wallace",
@@ -697,7 +697,7 @@
697697
},
698698
{
699699
"id": 4,
700-
"photo": "img/avatars/13.jpg",
700+
"photo": "/img/avatars/13.jpg",
701701
"firstName": "Anton",
702702
"lastName": "Jimenez",
703703
"fullName": "Anton Jimenez",
@@ -859,7 +859,7 @@
859859
},
860860
{
861861
"id": 5,
862-
"photo": "img/avatars/19.jpg",
862+
"photo": "/img/avatars/19.jpg",
863863
"firstName": "Adam",
864864
"lastName": "Felk",
865865
"fullName": "Adam Felk",
@@ -1031,7 +1031,7 @@
10311031
},
10321032
{
10331033
"id": 6,
1034-
"photo": "img/avatars/7.jpg",
1034+
"photo": "/img/avatars/7.jpg",
10351035
"firstName": "John",
10361036
"lastName": "Baxter",
10371037
"fullName": "John Baxter",
@@ -1209,7 +1209,7 @@
12091209
},
12101210
{
12111211
"id": 7,
1212-
"photo": "img/avatars/22.jpg",
1212+
"photo": "/img/avatars/22.jpg",
12131213
"firstName": "Houssam",
12141214
"lastName": "Nasri",
12151215
"fullName": "Houssam Nasri",
@@ -1363,7 +1363,7 @@
13631363
},
13641364
{
13651365
"id": 8,
1366-
"photo": "img/avatars/14.jpg",
1366+
"photo": "/img/avatars/14.jpg",
13671367
"firstName": "Miranda",
13681368
"lastName": "Smith",
13691369
"fullName": "Miranda Smith",
@@ -1523,7 +1523,7 @@
15231523
},
15241524
{
15251525
"id": 9,
1526-
"photo": "img/avatars/16.jpg",
1526+
"photo": "/img/avatars/16.jpg",
15271527
"firstName": "Mark",
15281528
"lastName": "Greenberg",
15291529
"fullName": "Mark Greenberg",

0 commit comments

Comments
 (0)