Skip to content
This repository was archived by the owner on Feb 6, 2024. It is now read-only.

Commit 7ee1d1f

Browse files
feat: firebase hosting can't redirect subdomain to path
1 parent 9d95952 commit 7ee1d1f

File tree

10 files changed

+19
-19
lines changed

10 files changed

+19
-19
lines changed

docs/docs/slides/app-slide-poll/app-slide-poll.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@ Add a slide "Poll" to your presentation.
2828

2929
<div class="container ion-margin">
3030
<deckgo-deck embedded={true}>
31-
<deckgo-slide-poll poll-link="https://poll.deckdeckgo.com" socket-url="https://api.deckdeckgo.com">
31+
<deckgo-slide-poll poll-link="https://deckdeckgo.com/poll" socket-url="https://api.deckdeckgo.com">
3232
<h1 slot="question">Do you like my presentation so far?</h1>
3333
<p slot="answer-1">It is super</p>
3434
<p slot="answer-2">Meh</p>
3535
<p slot="answer-3">I could'nt care less</p>
3636
<p slot="answer-4">Tell me why</p>
37-
<p slot="how-to">Go to <a href="https://poll.deckdeckgo.com">poll.deckdeckgo.com</a> and use the code {0}</p>
37+
<p slot="how-to">Go to <a href="https://deckdeckgo.com/poll">deckdeckgo.com/poll</a> and use the code {0}</p>
3838
<p slot="awaiting-votes">Awaiting first votes</p>
3939
<p slot="answer-5">Ain't nothin' but a heartache</p>
4040
</deckgo-slide-poll>
@@ -101,7 +101,7 @@ The "Poll" slide's Web Component could be integrated using the tag `<deckgo-slid
101101
<p slot="answer-3">I could'nt care less</p>
102102
<p slot="answer-4">Tell me why</p>
103103
<p slot="answer-5">Ain't nothin' but a heartache</p>
104-
<p slot="how-to">Go to <a href="https://poll.deckdeckgo.com">poll.deckdeckgo.com</a> and use the code {0}</p>
104+
<p slot="how-to">Go to <a href="https://deckdeckgo.com/poll">deckdeckgo.com/poll</a> and use the code {0}</p>
105105
<p slot="awaiting-votes">Awaiting first votes</p>
106106
</deckgo-slide-poll>
107107
```
@@ -129,7 +129,7 @@ This component offers the following options which could be set using attributes:
129129
| socketUrl | string | `https://api.deckdeckgo.com` | The url of the socket (server) where the poll (chat room) is going to be created. |
130130
| socketPath | string | `/poll` | The path to reach the socket server |
131131
| connectPollSocket | boolean | `true` | In case you would not like that the template try to reach the socket server |
132-
| pollLink | string | `https://poll.deckdeckgo.com` | The url which leads to the voting application respectively where your audience will be available to make their voice heard aka where they will be able to vote. |
132+
| pollLink | string | `https://deckdeckgo.com/poll` | The url which leads to the voting application respectively where your audience will be available to make their voice heard aka where they will be able to vote. |
133133
| pollKey | string | | Per default the template will always try to create a new poll but if you set this value, it will try to retrieve an existing poll |
134134

135135
## Theming

docs/docs/slides/app-slides-concept/app-slides-concept.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,13 +190,13 @@ The core component of [DeckDeckGo] (`<deckgo-deck/>`) does not contain any slide
190190

191191
<div class="container ion-margin">
192192
<deckgo-deck embedded={true}>
193-
<deckgo-slide-poll poll-link="https://poll.deckdeckgo.com" socket-url="https://api.deckdeckgo.com" connectPollSocket={false}>
193+
<deckgo-slide-poll poll-link="https://deckdeckgo.com/poll" socket-url="https://api.deckdeckgo.com" connectPollSocket={false}>
194194
<h1 slot="question">Do you like my presentation so far?</h1>
195195
<p slot="answer-1">It is super</p>
196196
<p slot="answer-2">Meh</p>
197197
<p slot="answer-3">I could'nt care less</p>
198198
<p slot="answer-4">Tell me why</p>
199-
<p slot="how-to">Go to <a href="https://poll.deckdeckgo.com">poll.deckdeckgo.com</a> and use the code {0}</p>
199+
<p slot="how-to">Go to <a href="https://deckdeckgo.com/poll">deckdeckgo.com/poll</a> and use the code {0}</p>
200200
<p slot="awaiting-votes">Awaiting first votes</p>
201201
<p slot="answer-5">Ain't nothin' but a heartache</p>
202202
</deckgo-slide-poll>

docs/src/app/pages/docs/slides/app-slide-poll/app-slide-poll.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,13 @@ export class AppSlidePoll {
5858
<h2 id="app-slide-poll-layout">Layout</h2>
5959
<div class="container ion-margin">
6060
<deckgo-deck embedded={true}>
61-
<deckgo-slide-poll poll-link="https://poll.deckdeckgo.com" socket-url="https://api.deckdeckgo.com">
61+
<deckgo-slide-poll poll-link="https://deckdeckgo.com/poll" socket-url="https://api.deckdeckgo.com">
6262
<h1 slot="question">Do you like my presentation so far?</h1>
6363
<p slot="answer-1">It is super</p>
6464
<p slot="answer-2">Meh</p>
6565
<p slot="answer-3">I could'nt care less</p>
6666
<p slot="answer-4">Tell me why</p>
67-
<p slot="how-to">Go to <a href="https://poll.deckdeckgo.com">poll.deckdeckgo.com</a> and use the code {0}</p>
67+
<p slot="how-to">Go to <a href="https://deckdeckgo.com/poll">deckdeckgo.com/poll</a> and use the code {0}</p>
6868
<p slot="awaiting-votes">Awaiting first votes</p>
6969
<p slot="answer-5">Ain't nothin' but a heartache</p>
7070
</deckgo-slide-poll>
@@ -99,7 +99,7 @@ export class AppSlidePoll {
9999
</deckgo-highlight-code><h2 id="app-slide-poll-usage">Usage</h2>
100100
<p>The &quot;Poll&quot; slide&#39;s Web Component could be integrated using the tag <code>&lt;deckgo-slide-poll/&gt;</code>.</p>
101101
<deckgo-highlight-code language="javascript">
102-
<code slot="code">&lt;deckgo-slide-poll poll-link=&quot;https:&#47;&#47;deckdeckgo.com&quot; socket-url=&quot;https:&#47;&#47;api.deckdeckgo.com&quot;&gt;{'\n'} &lt;h1 slot=&quot;question&quot;&gt;Do you like my presentation so far?&lt;&#47;h1&gt;{'\n'} &lt;p slot=&quot;answer-1&quot;&gt;It is super&lt;&#47;p&gt;{'\n'} &lt;p slot=&quot;answer-2&quot;&gt;Meh&lt;&#47;p&gt;{'\n'} &lt;p slot=&quot;answer-3&quot;&gt;I could&#039;nt care less&lt;&#47;p&gt;{'\n'} &lt;p slot=&quot;answer-4&quot;&gt;Tell me why&lt;&#47;p&gt;{'\n'} &lt;p slot=&quot;answer-5&quot;&gt;Ain&#039;t nothin&#039; but a heartache&lt;&#47;p&gt;{'\n'} &lt;p slot=&quot;how-to&quot;&gt;Go to &lt;a href=&quot;https:&#47;&#47;poll.deckdeckgo.com&quot;&gt;poll.deckdeckgo.com&lt;&#47;a&gt; and use the code &#123;0&#125;&lt;&#47;p&gt;{'\n'} &lt;p slot=&quot;awaiting-votes&quot;&gt;Awaiting first votes&lt;&#47;p&gt;{'\n'}&lt;&#47;deckgo-slide-poll&gt;</code>
102+
<code slot="code">&lt;deckgo-slide-poll poll-link=&quot;https:&#47;&#47;deckdeckgo.com&quot; socket-url=&quot;https:&#47;&#47;api.deckdeckgo.com&quot;&gt;{'\n'} &lt;h1 slot=&quot;question&quot;&gt;Do you like my presentation so far?&lt;&#47;h1&gt;{'\n'} &lt;p slot=&quot;answer-1&quot;&gt;It is super&lt;&#47;p&gt;{'\n'} &lt;p slot=&quot;answer-2&quot;&gt;Meh&lt;&#47;p&gt;{'\n'} &lt;p slot=&quot;answer-3&quot;&gt;I could&#039;nt care less&lt;&#47;p&gt;{'\n'} &lt;p slot=&quot;answer-4&quot;&gt;Tell me why&lt;&#47;p&gt;{'\n'} &lt;p slot=&quot;answer-5&quot;&gt;Ain&#039;t nothin&#039; but a heartache&lt;&#47;p&gt;{'\n'} &lt;p slot=&quot;how-to&quot;&gt;Go to &lt;a href=&quot;https:&#47;&#47;deckdeckgo.com&#47;poll&quot;&gt;deckdeckgo.com&#47;poll&lt;&#47;a&gt; and use the code &#123;0&#125;&lt;&#47;p&gt;{'\n'} &lt;p slot=&quot;awaiting-votes&quot;&gt;Awaiting first votes&lt;&#47;p&gt;{'\n'}&lt;&#47;deckgo-slide-poll&gt;</code>
103103
</deckgo-highlight-code><h3 id="app-slide-poll-slots">Slots</h3>
104104
<p>The slots <code>question</code> and at least one <code>answer</code> should be provided. Answer slots have to be provided as <code>answer-x</code> where <code>x</code> is a number bigger than 0.</p>
105105
<p>The slot <code>how-to</code> and <code>awaiting-votes</code> are optional, still, it&#39;s probably for best of your audience to provide these.</p>
@@ -139,7 +139,7 @@ export class AppSlidePoll {
139139
<tr>
140140
<td>pollLink</td>
141141
<td>string</td>
142-
<td><code>https://poll.deckdeckgo.com</code></td>
142+
<td><code>https://deckdeckgo.com/poll</code></td>
143143
<td>The url which leads to the voting application respectively where your audience will be available to make their voice heard aka where they will be able to vote.</td>
144144
</tr>
145145
<tr>

docs/src/app/pages/docs/slides/app-slides-concept/app-slides-concept.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,13 +226,13 @@ export class AppSlidesConcept {
226226
</ul>
227227
<div class="container ion-margin">
228228
<deckgo-deck embedded={true}>
229-
<deckgo-slide-poll poll-link="https://poll.deckdeckgo.com" socket-url="https://api.deckdeckgo.com" connectPollSocket={false}>
229+
<deckgo-slide-poll poll-link="https://deckdeckgo.com/poll" socket-url="https://api.deckdeckgo.com" connectPollSocket={false}>
230230
<h1 slot="question">Do you like my presentation so far?</h1>
231231
<p slot="answer-1">It is super</p>
232232
<p slot="answer-2">Meh</p>
233233
<p slot="answer-3">I could'nt care less</p>
234234
<p slot="answer-4">Tell me why</p>
235-
<p slot="how-to">Go to <a href="https://poll.deckdeckgo.com">poll.deckdeckgo.com</a> and use the code {0}</p>
235+
<p slot="how-to">Go to <a href="https://deckdeckgo.com/poll">deckdeckgo.com/poll</a> and use the code {0}</p>
236236
<p slot="awaiting-votes">Awaiting first votes</p>
237237
<p slot="answer-5">Ain't nothin' but a heartache</p>
238238
</deckgo-slide-poll>

studio/src/app/utils/editor/create-slides.utils.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ export class CreateSlidesUtils {
316316
{questionSlot}
317317
{...answerSlots}
318318

319-
<div slot="how-to">Go to <a href={EnvironmentConfigService.getInstance().get('deckdeckgo').pollUrl}>poll.deckdeckgo.com</a> and use the code {'{0}'}</div>
319+
<div slot="how-to">Go to <a href={EnvironmentConfigService.getInstance().get('deckdeckgo').pollUrl}>deckdeckgo.com/poll</a> and use the code {'{0}'}</div>
320320
<div slot="awaiting-votes">Awaiting votes</div>
321321
</deckgo-slide-poll>;
322322

studio/src/global/app.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ setupDeckGoConfig({
3232
prod: true,
3333
appUrl: 'https://deckdeckgo.com',
3434
globalAssetsUrl: 'https://deckdeckgo.com/assets',
35-
pollUrl: 'https://poll.deckdeckgo.com',
35+
pollUrl: 'https://deckdeckgo.com/poll',
3636
apiUrl: '<@API_URL@>',
3737
presentationUrl: '<@PRESENTATION_URL@>',
3838
socketUrl: '<@SOCKET_URL@>'

webcomponents/slides/poll/src/components/slide/deckdeckgo-slide-poll.e2e.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ describe('deckgo-slide-poll', () => {
55

66
beforeEach(async () => {
77
page = await newE2EPage();
8-
await page.setContent(`<deckgo-slide-poll poll-link="https://deckdeckgo.com" socket-url="http://localhost:3002" style="--deckgo-qrcode-color-fill: yellow; --deckgo-chart-fill-color-1: red;">
8+
await page.setContent(`<deckgo-slide-poll style="--deckgo-qrcode-color-fill: yellow; --deckgo-chart-fill-color-1: red;">
99
<h1 slot="question">Do you like my presentation so far?</h1>
1010
<p slot="answer-1">It is super</p>
1111
<p slot="answer-2">Meh</p>
1212
<p slot="answer-3">I could'nt care less</p>
1313
<p slot="answer-4">Tell me why</p>
14-
<p slot="how-to">Go to <a href="https://poll.deckdeckgo.com">poll.deckdeckgo.com</a> and use the code {0}</p>
14+
<p slot="how-to">Go to <a href="https://deckdeckgo.com/poll">deckdeckgo.com/poll</a> and use the code {0}</p>
1515
<p slot="awaiting-votes">Awaiting first votes</p>
1616
<p slot="answer-5">Ain't nothin' but a heartache</p>
1717
</deckgo-slide-poll>`);

webcomponents/slides/poll/src/components/slide/deckdeckgo-slide-poll.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export class DeckdeckgoSlidePoll implements DeckdeckgoSlideResize {
3939

4040
@Prop() connectPollSocket: boolean = true;
4141

42-
@Prop({reflect: true}) pollLink: string = 'https://poll.deckdeckgo.com';
42+
@Prop({reflect: true}) pollLink: string = 'https://deckdeckgo.com/poll';
4343

4444
@Prop({reflect: true, mutable: true})
4545
pollKey: string;

webcomponents/slides/poll/src/components/slide/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
| `customActions` | `custom-actions` | | `boolean` | `false` |
1414
| `customBackground` | `custom-background` | | `boolean` | `false` |
1515
| `pollKey` | `poll-key` | | `string` | `undefined` |
16-
| `pollLink` | `poll-link` | | `string` | `'https://poll.deckdeckgo.com'` |
16+
| `pollLink` | `poll-link` | | `string` | `'https://deckdeckgo.com/poll'` |
1717
| `socketPath` | `socket-path` | | `string` | `'/poll'` |
1818
| `socketUrl` | `socket-url` | | `string` | `'https://api.deckdeckgo.com'` |
1919

webcomponents/slides/poll/src/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ <h1 slot="question">Do you like my presentation so far?</h1>
2828
<p slot="answer-2">Meh</p>
2929
<p slot="answer-3">I could'nt care less</p>
3030
<p slot="answer-4">Tell me why</p>
31-
<p slot="how-to">Go to <a href="https://poll.deckdeckgo.com">poll.deckdeckgo.com</a> and use the code {0}</p>
31+
<p slot="how-to">Go to <a href="https://deckdeckgo.com/poll">deckdeckgo.com/poll</a> and use the code {0}</p>
3232
<p slot="awaiting-votes">Awaiting first votes</p>
3333
<p slot="answer-5">Ain't nothin' but a heartache</p>
3434
</deckgo-slide-poll>

0 commit comments

Comments
 (0)