diff options
| author | Romain Derie <rde@odoo.com> | 2019-09-03 13:09:12 +0000 |
|---|---|---|
| committer | Romain Derie <rde@odoo.com> | 2019-09-24 13:54:26 +0000 |
| commit | 964aa3d6965bc1cc8757e64cefd9535e991aa1df (patch) | |
| tree | 5020f7c0fa214ae9139c4f72a690119c74eeb5c5 /addons/web/static/src/js/views/basic | |
| parent | 14a5983dcaf5ce953ad6dbfa9662cca69813b4f9 (diff) | |
[FIX] website: make website selector work with scheme and port
Before this commit, if one would introduce a scheme or a port in his website
domain, it would make the website selector to crash JS side.
Indeed, it would replace the current url hostname by the website domain.
If the website domain was introduced with `http://` it would lead to
`http://http://mysite.com`.
If port was introduced, `http://mysite:8069:8069`.
Also, by fixing those 2, it also make `localhost` and `127.0.0.1` to work.
(which would not work without `http://`.
Related to #36390
Diffstat (limited to 'addons/web/static/src/js/views/basic')
0 files changed, 0 insertions, 0 deletions
