fix: cleanup test-service-provider and add attribution to previous PR

This commit is contained in:
quaff 2024-10-16 00:14:17 -07:00
parent ae3f84d477
commit 7b207c046c
No known key found for this signature in database
GPG key ID: E1BF1FDE24A291D4
2 changed files with 3 additions and 4 deletions

View file

@ -1,10 +1,8 @@
import * as doip from '../src/index.js'
const main = async () => {
// const sp = doip.ServiceProviderDefinitions.data['activitypub'].processURI('https://fosstodon.org/@yarmo')
// const sp = doip.ServiceProviderDefinitions.data['discourse'].processURI('https://domain.org/u/alice')
const sp = doip.ServiceProviderDefinitions.data['sourcehut'].processURI('https://git.sr.ht/~alice/keyoxide_proof')
console.log(sp);
const sp = doip.ServiceProviderDefinitions.data.sourcehut.processURI('https://git.sr.ht/~alice/keyoxide_proof')
console.log(sp)
}
main()

View file

@ -1,5 +1,6 @@
/*
Copyright 2024 quaff
Copyright 2022 tianruiwei
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.