Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Viewing on Local Server doesn't work for me #16

Closed
baochungit opened this issue Jun 14, 2013 · 3 comments
Closed

Viewing on Local Server doesn't work for me #16

baochungit opened this issue Jun 14, 2013 · 3 comments

Comments

@baochungit
Copy link

@baochungit baochungit commented Jun 14, 2013

I followed the instruction to edit project setting but after that I've tried Ctrl+Alt+V but seems nothing changed.. I still got a new firefox tab open with file:// not http:// as I want. Please help me, here's my setting file content:

{
"folders":
[
{
"path": "/D/www/Bliss/Happiness/Project1"
}
],
"settings": {
"sublime-view-in-browser": {
"baseUrl": "http://localhost",
"basePath": "/Bliss/Happiness/Project1"
}
}
}

Thank you!

@baochungit

This comment has been minimized.

Copy link
Author

@baochungit baochungit commented Jun 14, 2013

I seems have the same issue with this: #11
After reading the link, I think I've got the solution but now the link open on firefox is the kind of: http://localhost/Bliss/Happiness//Bliss/Happiness/Project1\svn\index.php
and the splash "" seems cause problem... If there's no way to make it work for firefox then I think I have to run it on chrome which works fine

@adampresley

This comment has been minimized.

Copy link
Owner

@adampresley adampresley commented Jun 15, 2013

So are you saying the slashes in the path to your working file are backslashes ("")? Is this a Windows environment?

adampresley added a commit that referenced this issue Jun 15, 2013
adampresley added a commit that referenced this issue Jun 15, 2013
@adampresley

This comment has been minimized.

Copy link
Owner

@adampresley adampresley commented Jun 15, 2013

The other thing to remember if this is Windows is to make sure if your project path is /D/www/Bliss/Happiness/Project1 your basePath should be D:\www\Bliss\Happiness\Project1. Sublime is clearly doing some magic with that first path, but then when I reference the current view's path, it gives me a normal Windows-style path. As a result your basePath must be a normal Windows-style path in Windows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.