I made it work! you need to change the URL root meta property on
customheaderlibs to use the getRootUrl ( I was wondering what it was for
) from your custom model: This is the default using spa core Page
model Change it to your own
function It will work fine on publish now, but you
also need modify the model so it doesn't short the path in author.
Thanks for the help, appreciated.