{"action":"created","issue":{"url":"https://api.github.com/repos/ipkn/crow/issues/74","labels_url":"https://api.github.com/repos/ipkn/crow/issues/74/labels{/name}","comments_url":"https://api.github.com/repos/ipkn/crow/issues/74/comments","events_url":"https://api.github.com/repos/ipkn/crow/issues/74/events","html_url":"https://github.com/ipkn/crow/issues/74","id":90274256,"number":74,"title":"Issue with pathes & including css + javascript?","user":{"login":"g12mcgov","id":4671394,"avatar_url":"https://avatars.githubusercontent.com/u/4671394?v=3","gravatar_id":"","url":"https://api.github.com/users/g12mcgov","html_url":"https://github.com/g12mcgov","followers_url":"https://api.github.com/users/g12mcgov/followers","following_url":"https://api.github.com/users/g12mcgov/following{/other_user}","gists_url":"https://api.github.com/users/g12mcgov/gists{/gist_id}","starred_url":"https://api.github.com/users/g12mcgov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/g12mcgov/subscriptions","organizations_url":"https://api.github.com/users/g12mcgov/orgs","repos_url":"https://api.github.com/users/g12mcgov/repos","events_url":"https://api.github.com/users/g12mcgov/events{/privacy}","received_events_url":"https://api.github.com/users/g12mcgov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-23T03:15:54Z","updated_at":"2015-06-23T22:51:11Z","closed_at":null,"body":"I'm trying to build a simple web app that's structured like this:\r\n\r\n```\r\nmain.cpp\r\npublic/\r\n    css/\r\n        style.css\r\n    img/\r\n        test.png\r\n    js/\r\n        test.js\r\n    templates/\r\n        about.html\r\n        blog.html\r\n        index.html\r\nvendor/\r\n    crow_all.h\r\n    mustache.h\r\n    mustache.cpp\r\nmain.dSYM\r\nmakefile\r\nmain\r\n```\r\n\r\nHowever, I can't get the imports to work for the life of me. For example, I've tried several variations of the path within this `href` tag, but it constantly returns a `404` error when locating the style.css file. I've loaded this project into Apache, and it works totally fine. Any ideas?\r\n\r\n```html\r\n<link rel=\"stylesheet\" type=\"text/css\" href=\"./public/css/style.css\"/>\r\n```\r\n\r\nMain.cpp: \r\n\r\n```c++\r\nint main()\r\n{\r\n    crow::SimpleApp app;\r\n    crow::mustache::set_base(\".\");\r\n\r\n    CROW_ROUTE(app, \"/\")\r\n    ([](){\r\n        crow::mustache::context ctx;\r\n        return crow::mustache::load(\"public/templates/index.html\").render();\r\n    });\r\n\r\n    CROW_ROUTE(app, \"/about\")\r\n    ([](){\r\n        return crow::mustache::load(\"public/templates/about.html\").render();;\r\n    });\r\n\r\n    CROW_ROUTE(app, \"/github\")\r\n    ([](){\r\n        return crow::mustache::load(\"\").render();;\r\n    });\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/ipkn/crow/issues/comments/114666148","html_url":"https://github.com/ipkn/crow/issues/74#issuecomment-114666148","issue_url":"https://api.github.com/repos/ipkn/crow/issues/74","id":114666148,"user":{"login":"g12mcgov","id":4671394,"avatar_url":"https://avatars.githubusercontent.com/u/4671394?v=3","gravatar_id":"","url":"https://api.github.com/users/g12mcgov","html_url":"https://github.com/g12mcgov","followers_url":"https://api.github.com/users/g12mcgov/followers","following_url":"https://api.github.com/users/g12mcgov/following{/other_user}","gists_url":"https://api.github.com/users/g12mcgov/gists{/gist_id}","starred_url":"https://api.github.com/users/g12mcgov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/g12mcgov/subscriptions","organizations_url":"https://api.github.com/users/g12mcgov/orgs","repos_url":"https://api.github.com/users/g12mcgov/repos","events_url":"https://api.github.com/users/g12mcgov/events{/privacy}","received_events_url":"https://api.github.com/users/g12mcgov/received_events","type":"User","site_admin":false},"created_at":"2015-06-23T22:51:11Z","updated_at":"2015-06-23T22:51:11Z","body":"Yes, the current working directory is:\r\n\r\n```Current working dir: /Users/grantmcgovern/Sites/PersonalSiteV2```"}}