Skip to content

Commit

Permalink
Fixed front build and access to static files
Browse files Browse the repository at this point in the history
  • Loading branch information
rocel committed Nov 27, 2017
1 parent f16ab31 commit 402ddd2
Show file tree
Hide file tree
Showing 18 changed files with 11 additions and 12 deletions.
3 changes: 1 addition & 2 deletions front/config/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,13 @@ module.exports = {
// just be aware of this issue when enabling this option.
cssSourceMap: false,
},

build: {
// Template for index.html
index: path.resolve(__dirname, '../../src/main/resources/templates/home.mustache'),

// Paths
assetsRoot: path.resolve(__dirname, '../../src/main/resources'),
assetsSubDirectory: '../../main/resources/public/',
assetsSubDirectory: 'static',
assetsPublicPath: '/',

/**
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/rocel/ksd/WebService.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public class WebService implements IWebService {

@Override
public void start(KafkaStreams streams, int port, String zkHosts) {
staticFileLocation("public");
staticFileLocation("");
port(port);
System.out.println("KSD started on port " + port);
get("/", this::getHome, new MustacheTemplateEngine());
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

2 changes: 0 additions & 2 deletions src/main/resources/public/js/manifest.d2f40d19259b37f1ab41.js

This file was deleted.

This file was deleted.

This file was deleted.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions src/main/resources/static/js/manifest.8731dba9fa57d59f6da0.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 402ddd2

Please sign in to comment.