fixed json header added and added boot clean options
This commit is contained in:
parent
0b75b3efb5
commit
f0918dce75
4 changed files with 58 additions and 9 deletions
|
|
@ -3,13 +3,18 @@
|
|||
<head>
|
||||
<meta charset="UTF-8"/>
|
||||
<title>Loading</title>
|
||||
<link rel="stylesheet" type="text/css" href="/static/spa-loader.css" />
|
||||
<link id="ffCleanupCss" rel="stylesheet" type="text/css" href="/static/spa-loader.css" />
|
||||
</head>
|
||||
<body>
|
||||
<script><%- inlineScript %></script>
|
||||
<script>
|
||||
<script id="ffCleanupScript"><%- inlineScript %></script>
|
||||
<script id="ffCleanupConfig">
|
||||
//FFSpaLoader.options.cache.css = false;
|
||||
//FFSpaLoader.options.cache.dss = false;
|
||||
FFSpaLoader.options.debug.enable = true;
|
||||
FFSpaLoader.options.boot.angular.modules.push('exampleUI');
|
||||
FFSpaLoader.options.boot.cleanup.tags.push('ffCleanupCss');
|
||||
FFSpaLoader.options.boot.cleanup.tags.push('ffCleanupScript');
|
||||
FFSpaLoader.options.boot.cleanup.tags.push('ffCleanupConfig');
|
||||
FFSpaLoader.options.server.assets = '/static/spa-client-resources';
|
||||
FFSpaLoader.options.server.header.response['X-My-Api'] = 'noknok';
|
||||
FFSpaLoader.start();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue