javascript - Angularjs: call one route without the hash? -
i know $locationprovider.html5mode(true) can remove hash routes, don't want that.
i use api makes callback call app, explicitly forbid callback url contains hash. therefore, need provide callback url without hash, , url can accessed without hash /index.html.
i guess handling callback in index.html quite ugly, best option create rule in web server configuration create valid url without hash , redirect app.
does know other option solve issue?
bonus question: why (linkedin in case) forbid put hash in callback url? there security issue that?
thanks!
Comments
Post a Comment