Phaser API Documentation

  Version: 
baseURL: string

Description:

If you want to append a URL before the path of any asset you can set this here.

Useful if allowing the asset base url to be configured outside of the game code.

If you set this property directly then it must end with a "/". Alternatively, call setBaseURL() and it'll do it for you.

Type:
string
Default: ''
Since: 3.0.0