Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ The list is available at `/list`

npm install https://github.com/esripdx/ep_padlist/tarball/master

One crucial issue is to ensure that the URL path to individual pads is correct. By default etherpad-lite has a URL template like http://localhost:9001/p/[padname] - depending on how you configure your webserver that proxies the node server, you may eliminate the /p/ to make the pads' URLs more "friendly", e.g. http(s)://[sitename]/[padname] - in that case, you will need to remove the /p/ from templates/pad.html, or otherwise alter it to suit your needs.

### License

Copyright 2013 Esri, Inc
Expand Down
4 changes: 2 additions & 2 deletions templates/pads.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ <h1>Pads</h1>
</div>
<ul>
<% pads.forEach(function(pad){ %>
<li><a href="/<%= pad.toString() %>"><%= pad.toString() %></a></li>
<li><a href="/p/<%= pad.toString() %>"><%= pad.toString() %></a></li>
<% }) %>
</ul>

<script src="/list/static/js/main.js"></script>
</body>
</html>
</html>