deploy: v0.12 fix 存档key名

This commit is contained in:
2026-06-24 03:09:02 +00:00
parent 7a08d49fe3
commit e0a5281119
58743 changed files with 7297269 additions and 39505 deletions
+25
View File
@@ -0,0 +1,25 @@
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = WordPress;
function WordPress(options) {
return {
id: "wordpress",
name: "WordPress.com",
type: "oauth",
authorization: "https://public-api.wordpress.com/oauth2/authorize?scope=auth",
token: "https://public-api.wordpress.com/oauth2/token",
userinfo: "https://public-api.wordpress.com/rest/v1/me",
profile(profile) {
return {
id: profile.ID,
name: profile.display_name,
email: profile.email,
image: profile.avatar_URL
};
},
options
};
}