use base href
relive api and socket.io