diff --git a/public/assets/css/componentStyle.css b/public/assets/css/componentStyle.css index 8f1de84d..0937c2ce 100644 --- a/public/assets/css/componentStyle.css +++ b/public/assets/css/componentStyle.css @@ -13,10 +13,6 @@ } /* show routes */ -.asset-name { - font-size: large; -} - .show-asset { width: 100%; margin-bottom: 1em; diff --git a/public/assets/js/claimPublish.js b/public/assets/js/claimPublish.js index b83575fd..ef657746 100644 --- a/public/assets/js/claimPublish.js +++ b/public/assets/js/claimPublish.js @@ -97,7 +97,7 @@ socket.on('publish-failure', function(msg){ socket.on('publish-complete', function(msg){ var publishResults; - var showUrl = '/s/' + msg.name + '/' + msg.result.claim_id; + var showUrl = '/show/' + msg.name + '/' + msg.result.claim_id; // build new publish area publishResults = '
Your publish is complete! You are being redirected to it now.
'; publishResults += 'If you do not get redirected, click here.
'; diff --git a/routes/show-routes.js b/routes/show-routes.js index e7b179f3..d662d6c9 100644 --- a/routes/show-routes.js +++ b/routes/show-routes.js @@ -49,7 +49,7 @@ module.exports = (app) => { }); }); // route to show a specific asset - app.get('/s/:name/:claim_id', ({ ip, originalUrl, params }, res) => { + app.get('/show/:name/:claim_id', ({ ip, originalUrl, params }, res) => { // begin image-serve processes getClaimByClaimId(params.name, params.claim_id) .then(fileInfo => { @@ -67,7 +67,7 @@ module.exports = (app) => { }); }); // route to show the winning free, public claim - app.get('/s/:name', ({ ip, originalUrl, params }, res) => { + app.get('/show/:name', ({ ip, originalUrl, params }, res) => { // get and render the content getClaimByName(params.name) .then(fileInfo => { diff --git a/views/partials/assetInfo.handlebars b/views/partials/assetInfo.handlebars index ad4ec8ac..b93576a2 100644 --- a/views/partials/assetInfo.handlebars +++ b/views/partials/assetInfo.handlebars @@ -1,23 +1,16 @@{{fileInfo.name}}> +
{{fileInfo.name}}>
https://spee.ch/:name
https://spee.ch/show/:name
+ https://spee.ch/:name/:claim_id
https://spee.ch/show/:name/:claim_id
+ https://spee.ch/:name/all