Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    How to run an HTML page served by a HTTP server?

    Help wanted · · · – – – · · ·
    1
    1
    1196
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • noopole
      noopole last edited by

      I’d like to run an HTML page so I configured the Execute / F5 command as following:

      chrome.exe http://localhost:8080/$(FILE_NAME)

      It works when the HTML file is located in the root of my Workspace (because my Node server is set up to do so).
      But it doesn’t work when the file is in a subfolder.

      Is there a predefined variable (i.e. $(RELATIVE_PATH)) that can be used to get the file path relative to the Workspace directory?

      Thank you by advance for your help.

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright © 2014 NodeBB Forums | Contributors