Add publicPath to init