Skip to content

Commit 8bc7b61

Browse files
committed
[update] minor update in server.js
1 parent cc9710c commit 8bc7b61

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

dev-server.js

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,15 +64,11 @@ app.post('/annotations', (req, res) => {
6464
res.end();
6565
});
6666

67-
app.get('/license-key.js', (req, res) => {
68-
res.sendFile(path.resolve(__dirname, '../../samples/license-key.js'));
69-
});
70-
7167
app.get('/', (req, res) => {
7268
res.sendFile(path.resolve(__dirname, 'src/index.html'));
7369
});
7470

75-
app.get('/mobile', (req, res) => {
71+
app.get('/sample-url', (req, res) => {
7672
res.redirect(`/#d=https://pdftron.s3.amazonaws.com/downloads/pl/demo-annotated.pdf&a=1`);
7773
});
7874

0 commit comments

Comments
 (0)