kopia lustrzana https://codeberg.org/nmkj/audon
disable avatar update
rodzic
3138e2a596
commit
d52ae18c44
|
@ -16,7 +16,7 @@ audon.localhost {
|
|||
}
|
||||
}
|
||||
|
||||
livekit.audon.localhost {
|
||||
livekit.localhost {
|
||||
tls /etc/caddy/certs/cert.pem /etc/caddy/certs/key.pem
|
||||
encode zstd gzip
|
||||
reverse_proxy livekit:7880
|
||||
|
|
Plik diff jest za duży
Load Diff
|
@ -28,7 +28,8 @@ export default {
|
|||
},
|
||||
computed: {
|
||||
uploadEnabled() {
|
||||
return this.roomToken?.original && this.roomToken?.indicator;
|
||||
// return this.roomToken?.original && this.roomToken?.indicator;
|
||||
return false;
|
||||
},
|
||||
},
|
||||
async mounted() {
|
||||
|
|
|
@ -47,11 +47,14 @@ export const useMastodonStore = defineStore("mastodon", {
|
|||
this.authorized = true;
|
||||
},
|
||||
async updateAvatar(img, filename) {
|
||||
return;
|
||||
/*
|
||||
if (this.client === null) return;
|
||||
const avatarBlob = await (await fetch(img)).blob();
|
||||
this.userinfo = await this.client.v1.accounts.updateCredentials({
|
||||
avatar: new File([avatarBlob], `${Date.now()}_${filename}`),
|
||||
});
|
||||
*/
|
||||
},
|
||||
async revertAvatar() {
|
||||
const token = await axios.get("/api/token");
|
||||
|
|
|
@ -236,8 +236,9 @@ func getAppConfig(server string) (*mastodon.AppConfig, error) {
|
|||
redirectURI = u.String()
|
||||
|
||||
conf := &mastodon.AppConfig{
|
||||
ClientName: "Audon",
|
||||
Scopes: "read:accounts read:follows write:accounts",
|
||||
ClientName: "Audon",
|
||||
// Scopes: "read:accounts read:follows write:accounts",
|
||||
Scopes: "read:accounts read:follows",
|
||||
Website: "https://codeberg.org/nmkj/audon",
|
||||
RedirectURIs: redirectURI,
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue