Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialMax Bergman
1,004 PointsRoot-Relative Path not working (using Atom instead or workspace...)
This is what comes up with the site reading file:///#about
Index of / Name Size Date Modified .DocumentRevisions-V100/ 11/14/17, 10:01:43 AM .fseventsd/ 11/14/17, 10:34:00 AM .HFS+ Private Directory Data / 7/8/16, 9:17:49 PM .PKInstallSandboxManager/ 6/23/16, 5:26:19 PM .PKInstallSandboxManager-SystemSoftware/ 11/14/17, 10:18:22 AM .Spotlight-V100/ 7/8/16, 10:21:33 PM .Trashes/ 8/25/16, 9:48:31 AM .vol/ 11/14/17, 9:51:47 AM Applications/ 11/14/17, 10:00:42 AM bin/ 10/25/17, 9:37:55 AM cores/ 11/14/17, 9:51:47 AM dev/ 11/14/17, 10:01:01 AM etc/ 11/14/17, 10:18:22 AM home/ 11/14/17, 10:34:20 AM Library/ 11/14/17, 9:58:16 AM net/ 11/14/17, 10:34:20 AM Network/ 11/14/17, 9:51:47 AM private/ 11/14/17, 9:51:47 AM sbin/ 11/14/17, 9:51:01 AM System/ 10/25/17, 9:31:26 AM tmp/ 11/14/17, 10:18:22 AM Users/ 11/14/17, 9:51:47 AM usr/ 10/25/17, 9:22:13 AM var/ 11/14/17, 10:00:06 AM Volumes/ 11/14/17, 10:23:22 AM
1 Answer
Steven Parker
231,268 PointsIt seems to be displaying a listing of the root of your filesystem.
I'm not familiar with "Atom", but I would expect it may have a configuration setting to establish a "virtual root" or "base path" for document references to use instead. Otherwise, you may have to convert all document references to relative.