/api and /public is now working