mirror of
https://github.com/svemagie/obsidian-micropub.git
synced 2026-05-14 19:38:50 +02:00
2b2e5f33bf
- Add IndieAuth.ts: full PKCE sign-in flow via GitHub Pages relay - Add docs/index.html: client_id page fetched by IndieKit for app info - Add docs/callback/index.html: relay that forwards to obsidian:// URI - Update SettingsTab.ts: signed-in/signed-out UI, Sign In button - Update types.ts: authorizationEndpoint, tokenEndpoint, me fields - Update main.ts: register obsidian://micropub-auth protocol handler
12 lines
273 B
JavaScript
12 lines
273 B
JavaScript
var profile = {
|
|
resourceTags: {
|
|
ignore: function(filename, mid){
|
|
// only include moment/moment
|
|
return mid != "moment/moment";
|
|
},
|
|
amd: function(filename, mid){
|
|
return /\.js$/.test(filename);
|
|
}
|
|
}
|
|
};
|