Skip to content

Commit

Permalink
added support for running at a different base url
Browse files Browse the repository at this point in the history
  • Loading branch information
proycon committed Jun 7, 2018
1 parent 845e72a commit b909311
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions config/prod.env.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ module.exports = {
TITLE: '"Language Tool Portal"',
DESCRIPTION: '"This portal provides an overview of available Natural Language Processing software, use the filters above to broaden or narrow the selection."',
REGISTRY_URL: '"/metadata.json"',
BASE: '"/"',
LOGO_RIGHT: 'true',
LOGO_LEFT: 'true',
ORGANIZATIONS: '["Radboud"]',
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "labirinto",
"version": "0.2.1",
"version": "0.2.2",
"description": "Labirinto is a virtual laboratory portal, it makes a collection of software browseable and searchable for the end-user. Labirinto presents the software's metadata following the CodeMeta (https://codemeta.github.io) specification in an intuitive way and allows the user to filter and perform a limited search. The portal gives access to software if it offers web-based interfaces.",
"author": "Maarten van Gompel <[email protected]>",
"homepage": "https://github.com/proycon/labirinto",
Expand Down
2 changes: 1 addition & 1 deletion src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</div>
<router-view/>
<div id="footer" v-if="!iniframe">
<strong>{{env.TITLE}}</strong> - powered by <a href="https://github.com/proycon/labirinto">Labirinto</a> v0.2.1 - <a :href="env.REGISTRY_URL">View raw metadata registry</a>
<strong>{{env.TITLE}}</strong> - powered by <a href="https://github.com/proycon/labirinto">Labirinto</a> v0.2.2 - <a :href="env.REGISTRY_URL">View raw metadata registry</a>
</div>
</div>
</template>
Expand Down
1 change: 1 addition & 0 deletions src/router/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Vue.use(Router)

export default new Router({
mode: 'history',
base: process.env.BASE,
routes: [
{
path: '/',
Expand Down

0 comments on commit b909311

Please sign in to comment.