✨ add qq oauth2 support / start landing page
This commit is contained in:
@@ -3,9 +3,12 @@ import {service} from "@/utils/alova/service.ts";
|
||||
/**
|
||||
* Get Github OAuth URL
|
||||
*/
|
||||
export const getGithubUrl = () => {
|
||||
export const getGithubUrl = (state: string) => {
|
||||
return service.Get('/api/oauth/github/get_url',
|
||||
{
|
||||
params: {
|
||||
state: state
|
||||
},
|
||||
meta: {
|
||||
ignoreToken: true,
|
||||
},
|
||||
|
Reference in New Issue
Block a user