tork-a / roswww

Tiny web server for ROS (forked from https://github.com/jihoonl/roswww)
Other
36 stars 25 forks source link

Use package export to configure package web root #19

Open jihoonl opened 9 years ago

jihoonl commented 9 years ago

The current implementation forces to use www as a package web root. If we utilise package export, each package can have different web page root. It would give users freedom to choose web root directory.

For example, roswww uses www directory as a web page root whereas my_webapp_package uses apps directory as a page root.

# package.xml in roswww
<export>
  <roswww_root>www</roswww_root>
</export>

# package.xml in my_webapp_package
<export>
  <roswww_root>apps</roswww_root>
</export>

Other usecases(rocon_app) reference,

130s commented 9 years ago

Addressed in https://github.com/tork-a/roswww/pull/20? @jihoonl

jihoonl commented 9 years ago

Nope. It is new enhancement.

130s commented 9 years ago

Got it. Anyway I'm on new patch release 0.1.4 https://github.com/tork-a/roswww/pull/22