diff --git a/src/db/migrations/20171218203245-AddWidgets.ts b/src/db/migrations/20171218203245-AddWidgets.ts index 19b51c7..5cbddbb 100644 --- a/src/db/migrations/20171218203245-AddWidgets.ts +++ b/src/db/migrations/20171218203245-AddWidgets.ts @@ -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", diff --git a/web/app/admin/widgets/etherpad/etherpad.component.html b/web/app/admin/widgets/etherpad/etherpad.component.html index 4bf7ec7..0a5c468 100644 --- a/web/app/admin/widgets/etherpad/etherpad.component.html +++ b/web/app/admin/widgets/etherpad/etherpad.component.html @@ -7,7 +7,7 @@ Default Pad URL Template $padName and $roomId will be replaced during creation to help create a unique pad URL. diff --git a/web/app/configs/widget/etherpad/etherpad.widget.component.html b/web/app/configs/widget/etherpad/etherpad.widget.component.html index abc5fa3..7dcec02 100644 --- a/web/app/configs/widget/etherpad/etherpad.widget.component.html +++ b/web/app/configs/widget/etherpad/etherpad.widget.component.html @@ -10,7 +10,7 @@ diff --git a/web/app/configs/widget/etherpad/etherpad.widget.component.ts b/web/app/configs/widget/etherpad/etherpad.widget.component.ts index afaee91..4483b19 100644 --- a/web/app/configs/widget/etherpad/etherpad.widget.component.ts +++ b/web/app/configs/widget/etherpad/etherpad.widget.component.ts @@ -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; } diff --git a/web/app/configs/widget/widget.component.ts b/web/app/configs/widget/widget.component.ts index e367ffd..9df9330 100644 --- a/web/app/configs/widget/widget.component.ts +++ b/web/app/configs/widget/widget.component.ts @@ -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 = "";