Skip to content

Commit

Permalink
Merge pull request #70 from rtCamp/feature/removing-recaptcha-demo
Browse files Browse the repository at this point in the history
renaming spotify demo and removing recaptcha demo link
  • Loading branch information
fellyph committed May 8, 2024
2 parents ab8abd4 + 61d8c5b commit 40f1668
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 70 deletions.
1 change: 0 additions & 1 deletion app.js
Expand Up @@ -76,7 +76,6 @@ const scenarios = [
'facebook-comments',
'disqus-comments',
'spotify-embed',
'google-recaptcha',
];
scenarios.forEach(scenario => {
const scenarioRoutes = require(`./src/scenarios/${scenario}/routes`);
Expand Down
3 changes: 1 addition & 2 deletions src/common/index.ejs
Expand Up @@ -21,8 +21,7 @@
<%= renderCard('Facebook Like', '👍', '/facebook-like') %>
<%= renderCard('Facebook Comments', '💬', '/facebook-comments') %>
<%= renderCard('Disqus Comments', '✉️', '/disqus-comments') %>
<%= renderCard('reCAPTCHA', '🤖', '/google-recaptcha') %>
<%= renderCard('Spotify embed', '🔊', '/spotify-embed') %>
<%= renderCard('Spotify', '🔊', '/spotify-embed') %>
<%= renderCard('CHIPS', '🍪', '/chips') %>
<%= renderCard('Storage Access API', '🗃️', '/storage-access-api') %>
</div>
Expand Down
54 changes: 0 additions & 54 deletions src/scenarios/google-recaptcha/index.ejs

This file was deleted.

12 changes: 0 additions & 12 deletions src/scenarios/google-recaptcha/routes.js

This file was deleted.

2 changes: 1 addition & 1 deletion src/scenarios/spotify-embed/routes.js
Expand Up @@ -6,7 +6,7 @@ router.get('/', (req, res) => {
// Send the default page
const currentDomain = req.get('host');
res.render(path.join(__dirname,'index'), {
title: 'Spotify Player'
title: 'Spotify'
});
});

Expand Down

0 comments on commit 40f1668

Please sign in to comment.