switch back to our own server
Signed-off-by: Sean Cross <sean@xobs.io>
This commit is contained in:
parent
93e174b93b
commit
fdbde7f2e8
21
index.html
21
index.html
@ -868,6 +868,14 @@
|
|||||||
// More info about initialization & config:
|
// More info about initialization & config:
|
||||||
// - https://revealjs.com/initialization/
|
// - https://revealjs.com/initialization/
|
||||||
// - https://revealjs.com/config/
|
// - https://revealjs.com/config/
|
||||||
|
reveal_dependencies = [
|
||||||
|
{ src: 'https://reveal-multiplex.glitch.me/socket.io/socket.io.js', async: true },
|
||||||
|
];
|
||||||
|
if (presenter) {
|
||||||
|
reveal_dependencies.push({ src: 'https://reveal-multiplex.glitch.me/master.js', async: true },);
|
||||||
|
} else {
|
||||||
|
reveal_dependencies.push({ src: 'https://unpkg.com/reveal-notes-server/client.js', async: true });
|
||||||
|
}
|
||||||
Reveal.initialize({
|
Reveal.initialize({
|
||||||
hash: true,
|
hash: true,
|
||||||
|
|
||||||
@ -882,8 +890,8 @@
|
|||||||
// The "normal" size of the presentation, aspect ratio will be preserved
|
// The "normal" size of the presentation, aspect ratio will be preserved
|
||||||
// when the presentation is scaled to fit different resolutions. Can be
|
// when the presentation is scaled to fit different resolutions. Can be
|
||||||
// specified using percentage units.
|
// specified using percentage units.
|
||||||
width: 960,
|
width: 1920,
|
||||||
height: 700,
|
height: 1080,
|
||||||
|
|
||||||
// Factor of the display size that should remain empty around the content
|
// Factor of the display size that should remain empty around the content
|
||||||
margin: 0.1,
|
margin: 0.1,
|
||||||
@ -891,8 +899,8 @@
|
|||||||
multiplex: {
|
multiplex: {
|
||||||
// Example values. To generate your own, see the socket.io server instructions.
|
// Example values. To generate your own, see the socket.io server instructions.
|
||||||
secret: getQueryHash().s || null,
|
secret: getQueryHash().s || null,
|
||||||
id: '6ee4f7df727dd88f',
|
id: 'ef4a6dfa448e19c1',
|
||||||
url: 'https://reveal-multiplex.glitch.me/'
|
url: 'https://p.xobs.io/'
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
@ -907,10 +915,7 @@
|
|||||||
},
|
},
|
||||||
|
|
||||||
// Don't forget to add the dependencies
|
// Don't forget to add the dependencies
|
||||||
dependencies: [
|
dependencies: reveal_dependencies,
|
||||||
{ src: 'https://reveal-multiplex.glitch.me/socket.io/socket.io.js', async: true },
|
|
||||||
{ src: 'https://reveal-multiplex.glitch.me/client.js', async: true }
|
|
||||||
],
|
|
||||||
|
|
||||||
// Learn about plugins: https://revealjs.com/plugins/
|
// Learn about plugins: https://revealjs.com/plugins/
|
||||||
plugins: [RevealMarkdown, RevealHighlight, RevealZoom]
|
plugins: [RevealMarkdown, RevealHighlight, RevealZoom]
|
||||||
|
Loading…
Reference in New Issue
Block a user