Request URL: link
Request Method: GET
Status Code: 404 Not Found
Remote Address: 127.0.0.1: 8080
Referrer Policy: no-referrer-when-downgrade
viewsource
Connection:keep-alive
Content-Length:74
Content-Type:text/html
Date:Mon,13Nov201717:37:44GMT
Server:WildFly/10
X-Powered-By:Undertow/1
RequestHeaders
viewsource
Accept:text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,
Accept-Encoding:gzip,deflate,br
Accept-Language:pt-BR,pt;q=0.9,en-US;q=0.8,en;q=0.7
Cache-Control:max-age=0
Connection:keep-alive
Host:127.0.0.1:8080
Upgrade-Insecure-Requests:1
User-Agent:Mozilla/5.0(WindowsNT10.0,Win64,x64) AppleWebKit/537.36(KHTML,likeGecko)Chrome/62.0.3202.89 Safari/537.36
Accordingtoimage:
Theroutelookslikethis:
if(config==undefined)varconfig={};config.routes=function($routeProvider){$routeProvider.when('/',{templateUrl:'views/home.html',caseInsensitiveMatch:true,requiresAuthentication:false}).otherwise({//templateUrl:'views/404.html',template:"<div>página não encontrada</div>",
});
};
index.html looks like this:
<!DOCTYPE html>
<html ng-app="desif-ui" >
<head>
<body layout="column">
<!--CONFIGS-->
<script src="config/routes.js"></script>
<!--ASSETS-->
<script src="js/angular.min.js"></script>
<script src="js/angular-locale_pt-br.js"></script>
<script src="js/angular-route.min.js"></script>
<script src="js/angular-touch.min.js"></script>
<script src="js/angular-animate.min.js"></script>
<script src="js/angular-aria.min.js"></script>
<script src="js/angular-messages.min.js"></script>
</body>
</head>
</html>
The project has 4 sub-projects desif-api, where the rest are. desif-core, The templates, dto, repository and services remain. desif-ui, where the angle is.