Allow extension to use resources/public path.

Signed-off-by: crynobone <crynobone@gmail.com>