Skip to content

Commit

Permalink
fix no data to fetch
Browse files Browse the repository at this point in the history
  • Loading branch information
Jayin committed Jul 15, 2015
1 parent 19ae248 commit 5890ee1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build/component/Resume/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ var Experience = React.createClass({displayName: "Experience",
}
})

fetch('/resume.json')
fetch('/resume/resume.json')
.then(function(response) {
return response.json()
}).then(function(json) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"serve": "node_modules/.bin/http-server . -p 3000"
"serve": "./node_modules/.bin/http-server ../ -p 3000"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion src/component/Resume/main.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ var Experience = React.createClass({
}
})

fetch('/resume.json')
fetch('/resume/resume.json')
.then(function(response) {
return response.json()
}).then(function(json) {
Expand Down

0 comments on commit 5890ee1

Please sign in to comment.