mirror of
https://github.com/turt2live/matrix-dimension.git
synced 2024-10-01 01:05:53 -04:00
Use new etherpad domain
This commit is contained in:
parent
8e077c7f72
commit
293097f6fb
@ -30,7 +30,7 @@ export default {
|
||||
isEnabled: true,
|
||||
isPublic: true,
|
||||
description: "Collaborate on documents with members of your room.",
|
||||
optionsJson: '{"defaultUrl":"https://demo.riot.im/etherpad/p/$roomId_$padName"}',
|
||||
optionsJson: '{"defaultUrl":"https://scalar.vector.im/etherpad/p/$roomId_$padName"}',
|
||||
},
|
||||
{
|
||||
type: "googlecalendar",
|
||||
|
@ -7,7 +7,7 @@
|
||||
Default Pad URL Template
|
||||
<span class="text-muted ">$padName and $roomId will be replaced during creation to help create a unique pad URL.</span>
|
||||
<input type="text" class="form-control"
|
||||
placeholder="https://demo.riot.im/etherpad/p/$padName_$roomId"
|
||||
placeholder="https://scalar.vector.im/etherpad/p/$padName_$roomId"
|
||||
[(ngModel)]="widget.options.defaultUrl" [disabled]="isUpdating"/>
|
||||
</label>
|
||||
</div>
|
||||
|
@ -10,7 +10,7 @@
|
||||
<label class="label-block">
|
||||
Pad URL
|
||||
<input type="text" class="form-control"
|
||||
placeholder="https://demo.riot.im/etherpad/p/MyCoolPadName"
|
||||
placeholder="https://scalar.vector.im/etherpad/p/MyCoolPadName"
|
||||
[(ngModel)]="widget.dimension.newUrl" name="widget-url-{{widget.id}}"
|
||||
[disabled]="isUpdating"/>
|
||||
</label>
|
||||
|
@ -26,7 +26,7 @@ export class EtherpadWidgetConfigComponent extends WidgetComponent {
|
||||
const padName = parsedUrl.query["padName"];
|
||||
|
||||
// Set the new URL so that it unpacks correctly
|
||||
widget.url = `https://demo.riot.im/etherpad/p/${padName}`;
|
||||
widget.url = `https://scalar.vector.im/etherpad/p/${padName}`;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -34,7 +34,7 @@ export class EtherpadWidgetConfigComponent extends WidgetComponent {
|
||||
protected OnNewWidgetPrepared(widget: EditableWidget): void {
|
||||
const name = this.nameService.getHumanReadableName();
|
||||
|
||||
let template = "https://demo.riot.im/etherpad/p/$roomId_$padName";
|
||||
let template = "https://scalar.vector.im/etherpad/p/$roomId_$padName";
|
||||
if (this.etherpadWidget.options && this.etherpadWidget.options.defaultUrl) {
|
||||
template = this.etherpadWidget.options.defaultUrl;
|
||||
}
|
||||
|
@ -10,6 +10,7 @@ const SCALAR_WIDGET_LINKS = [
|
||||
"https://scalar-staging.vector.im/scalar/api/widgets/__TYPE__.html?__PNAME__=",
|
||||
"https://scalar-develop.riot.im/scalar/api/widgets/__TYPE__.html?__PNAME__=",
|
||||
"https://demo.riot.im/scalar/api/widgets/__TYPE__.html?__PNAME__=",
|
||||
"https://scalar.vector.im/scalar/api/widgets/__TYPE__.html?__PNAME__=",
|
||||
];
|
||||
|
||||
export const DISABLE_AUTOMATIC_WRAPPING = "";
|
||||
|
Loading…
Reference in New Issue
Block a user