...">

How to solve the problem with the base tag?

I have a problem with a base tag. It looks like
<base href="http://myexamplepage.com/myfolder/" />.

Everything works, besides this request:
$.get("application/soft/calendar_month_change.php", ...)

My computer thinks it crosses the domain server and changes the request to OPTIONS .... When I delete the base tag, it works correctly, but my site does not show any images. I am using smarty engine engine. How can I solve it?

+3
source share
1 answer

How can I solve it?

? base. , : , . ( , AJAX.)

Smarty , URL . - , URL-.

, URL- Ajax base .

$.get("http://domain.com/application/soft/calendar_month_change.php", ...)
+2

Source: https://habr.com/ru/post/1753856/


All Articles