hanyuu/assets/oauth2.js/main.js

9 lines
217 B
JavaScript

#include authorise.js
#include verify.js
(() => {
if(location.pathname === '/oauth2/authorise')
HanyuuOAuth2Authorise();
if(location.pathname === '/oauth2/verify')
HanyuuOAuth2Verify();
})();