Skip to content

Conversation

@Morriz
Copy link

@Morriz Morriz commented Mar 30, 2016

If BASEPATH is not specified, it defaults to '/'.

This pull request effectively combines #104 and #94

And fixes #113 and #114

@sharksforarms
Copy link

sharksforarms commented Sep 30, 2017

It would be awesome if we could get this reviewed and merged in! :) @Morriz @kwk

cp -rf $SOURCE_DIR/dist/* $WWW_DIR && \
rm -rf $SOURCE_DIR && \
if [ -z "$BASEPATH" ]; then BASEPATH=/; fi && \
sed -i.bak "s;##BASEPATH##;$BASEPATH;g" $WWW_DIR/index.html && \
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you find a more elegant way than sed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

routes generated in repo listing do not match app.routes

3 participants