You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
1.0 KiB
HTML
29 lines
1.0 KiB
HTML
9 years ago
|
<!DOCTYPE html>
|
||
|
<html>
|
||
|
<head>
|
||
|
<script data-main="test" src="/bower_components/requirejs/require.js"></script>
|
||
|
<style>
|
||
|
#status { border: 5px solid red; }
|
||
|
#status.working { border: 5px solid green; }
|
||
|
</style>
|
||
|
</head>
|
||
|
<body>
|
||
|
|
||
|
<p>This page opens up an iframe which connects to beta.cryptpad.fr</p>
|
||
|
|
||
|
<p>the idea is that some other subdomain of cryptpad.fr should be able to use this technique to open up a connection
|
||
|
to beta.cryptpad.fr and read from its local storage, so that we can make a seamless transition from beta
|
||
|
to www. or *.cryptpad.fr.</p>
|
||
|
|
||
|
<div id="status">
|
||
|
<p>If this box turns green, you've configured your scripts correctly.</p>
|
||
|
|
||
|
<p>If your scripts are not working correctly, check that:
|
||
|
<ol>
|
||
|
<li>/customize/share/respond.js is configured to respond to requests from your domain (see the validDomains variable)</li>
|
||
|
<li>the script attempting to connect to this endpoint is configured to listen for responses from it (in this case main.js)</li>
|
||
|
</ol>
|
||
|
</div>
|
||
|
|
||
|
|