{"action":"closed","issue":{"url":"https://api.github.com/repos/dlizarra/spring-boot-react-webpack-starter/issues/1","repository_url":"https://api.github.com/repos/dlizarra/spring-boot-react-webpack-starter","labels_url":"https://api.github.com/repos/dlizarra/spring-boot-react-webpack-starter/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/dlizarra/spring-boot-react-webpack-starter/issues/1/comments","events_url":"https://api.github.com/repos/dlizarra/spring-boot-react-webpack-starter/issues/1/events","html_url":"https://github.com/dlizarra/spring-boot-react-webpack-starter/issues/1","id":172607421,"number":1,"title":"Error: [HPM] Invalid context. Expecting something like: \"/api\" or [\"/api\", \"/ajax\"]","user":{"login":"MehrCurry","id":328753,"avatar_url":"https://avatars.githubusercontent.com/u/328753?v=3","gravatar_id":"","url":"https://api.github.com/users/MehrCurry","html_url":"https://github.com/MehrCurry","followers_url":"https://api.github.com/users/MehrCurry/followers","following_url":"https://api.github.com/users/MehrCurry/following{/other_user}","gists_url":"https://api.github.com/users/MehrCurry/gists{/gist_id}","starred_url":"https://api.github.com/users/MehrCurry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MehrCurry/subscriptions","organizations_url":"https://api.github.com/users/MehrCurry/orgs","repos_url":"https://api.github.com/users/MehrCurry/repos","events_url":"https://api.github.com/users/MehrCurry/events{/privacy}","received_events_url":"https://api.github.com/users/MehrCurry/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-08-23T03:58:19Z","updated_at":"2016-08-24T03:42:48Z","closed_at":"2016-08-24T03:42:48Z","body":"I am doing my first steps to create a react app on top of spring boot and found this project which seems to be a good starting point for me.\r\n\r\nBut after i get everything up an running i get an error message when calling http://localhost:9090\r\n\r\nI seems to be something to do with `http-proxy-middleware` but i have no idea how to fix it.\r\n\r\nAny hints for me?\r\n\r\n```\r\nError: [HPM] Invalid context. Expecting something like: \"/api\" or [\"/api\", \"/ajax\"]\r\n    at Object.matchContext [as match] (/Users/guido/wrk/starter/src/main/frontend/node_modules/http-proxy-middleware/lib/context-matcher.js:40:11)\r\n    at shouldProxy (/Users/guido/wrk/starter/src/main/frontend/node_modules/http-proxy-middleware/lib/index.js:70:31)\r\n    at middleware (/Users/guido/wrk/starter/src/main/frontend/node_modules/http-proxy-middleware/lib/index.js:38:13)\r\n    at Layer.handle [as handle_request] (/Users/guido/wrk/starter/src/main/frontend/node_modules/express/lib/router/layer.js:95:5)\r\n    at trim_prefix (/Users/guido/wrk/starter/src/main/frontend/node_modules/express/lib/router/index.js:312:13)\r\n    at /Users/guido/wrk/starter/src/main/frontend/node_modules/express/lib/router/index.js:280:7\r\n    at Function.process_params (/Users/guido/wrk/starter/src/main/frontend/node_modules/express/lib/router/index.js:330:12)\r\n    at next (/Users/guido/wrk/starter/src/main/frontend/node_modules/express/lib/router/index.js:271:10)\r\n    at /Users/guido/wrk/starter/src/main/frontend/node_modules/webpack-dev-server/lib/Server.js:183:7\r\n    at Layer.handle [as handle_request] (/Users/guido/wrk/starter/src/main/frontend/node_modules/express/lib/router/layer.js:95:5)\r\n```"}}
{"actor":{"display_login":"MehrCurry"}}