gogits/gogs — pull request #500 by fundon (2014-09-26 02:36:41+00:00)
Title: Fix suburl undefined

This is my gogs server address `127.0.0.1:3333/`.
It will redirect to `http://127.0.0.1:3333/undefined/user/sign_up` when clicking `sign-up` or `sign-in`.