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

Router using path to an external HTML is not functioning #96

Open
dawud-tan opened this issue May 23, 2023 · 0 comments
Open

Router using path to an external HTML is not functioning #96

dawud-tan opened this issue May 23, 2023 · 0 comments

Comments

@dawud-tan
Copy link

Describe the bug
I got error when try to use router with path to an external HTML, http://183.81.158.230/smarthtml/coba/

To Reproduce

const router = new Smart.Router('tampilanUtamanya', '/coba');

router.setRoutes([{{
path: '/cip',
template: '.${mvc.basePath}/tentang/templatTentang.htm',
title: 'Tentangnya'
}]);

router.route('/');

Expected behavior
template could be set with path to an external HTML

Screenshots
gambar

Desktop (please complete the following information):

  • OS: fedora
  • Browser: Firefox
  • Version: any
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant