unimal-jp / spear

The spear OSS repository
https://late-cloud-6411.spearly.app
MIT License
10 stars 1 forks source link

Fix: localize function should consider the absolute path #119

Closed mantaroh closed 1 year ago

mantaroh commented 1 year ago

What is this?

This PR will address the #116 issue. This issue is based on absolute path. Spear i18n's localize function is not considered the absolute path.

How do this change fix it?

If URL start with / character, Spear treat it as absolute path. (This mean generate url start with /)