baseUrl( )


Gets the base URL of the current page.

Premium sites: Premium site baseUrl

Free sites: Free site baseUrl

Method Declaration
Copy
Request
This method does not take any parameters
Returns
Return Type:Promise<string>
Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?