package com.github.dkanellis.fikey;

import com.github.dkanellis.fikey.resources.FiKeyResource;
import io.dropwizard.Application;
import io.dropwizard.assets.AssetsBundle;
import io.dropwizard.setup.Bootstrap;
import io.dropwizard.setup.Environment;

/**
 * @author Dimitris Kanellis
 */
public class FiKeyApplication extends Application<FiKeyConfiguration> {

    public static void main(String[] args) throws Exception {
        new FiKeyApplication().run(args);
    }

    @Override
    public String getName() {
        return "FiKey";
    }

    @Override
    public void initialize(Bootstrap<FiKeyConfiguration> bootstrap) {
        bootstrap.addBundle(new AssetsBundle("/assets", "/", "index.html", "html"));
    }

    @Override
    public void run(FiKeyConfiguration fiKeyConfiguration, Environment environment) throws Exception {
        final FiKeyResource resource = new FiKeyResource();
        environment.jersey().register(resource);
    }
}

@@ -66,24 +66,20 @@
 s.fikey.
-resource
+view
 s.FiKeyR
@@ -720,20 +720,22 @@
 html%22, %22
-html
+static
 %22));%0D%0A  
@@ -852,32 +852,87 @@
 ws Exception %7B%0D%0A
+        environment.jersey().setUrlPattern(%22/api/*%22);%0D%0A
         final Fi

Fix path