Permalink
Browse files

Download vendor cdn files for gateway

This change set downloads the CDN resources for the gateway
and bundles them with the other static resources for the UI.

This is needed for situations where a user does not have access
to the CDN either because of firewall rules or network policy.

The files and versions remain the same, only now loaded locally
with directory paths matching the CDN paths.

Signed-off-by: Burton Rheutan <rheutan7@gmail.com>
  • Loading branch information...
burtonr authored and alexellis committed Dec 1, 2018
1 parent 350907a commit a51d42c9836f85c9964695c04fa3805f3d5ceed4
@@ -3,7 +3,7 @@
<head>
<title>OpenFaaS Portal</title>
<link href="https://fonts.googleapis.com/css?family=Rationale|Roboto+Mono|Roboto:300,400,400i,500,700" rel="stylesheet">
<link rel="stylesheet" href="https://ajax.googleapis.com/ajax/libs/angular_material/1.1.0/angular-material.min.css">
<link rel="stylesheet" href="style/angular_material/1.1.0/angular-material.min.css">
<link rel="stylesheet" href="style/bootstrap.css">
<link rel="apple-touch-icon" sizes="180x180" href="apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="favicon-32x32.png">
@@ -195,11 +195,11 @@ <h1 style="flex: 1 1 auto;">&nbsp; OpenFaaS Portal</h1>
</div>


<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.9/angular.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.9/angular-animate.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.9/angular-aria.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.6.9/angular-messages.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angular_material/1.1.4/angular-material.min.js"></script>
<script src="script/angularjs/1.6.9/angular.min.js"></script>
<script src="script/angularjs/1.6.9/angular-animate.min.js"></script>
<script src="script/angularjs/1.6.9/angular-aria.min.js"></script>
<script src="script/angularjs/1.6.9/angular-messages.min.js"></script>
<script src="script/angular_material/1.1.4/angular-material.min.js"></script>
<script src="script/funcstore.js"></script>
<script src="script/bootstrap.js"></script>
</div>

Large diffs are not rendered by default.

Oops, something went wrong.

Large diffs are not rendered by default.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
Oops, something went wrong.

0 comments on commit a51d42c

Please sign in to comment.