File tree Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Expand file tree Collapse file tree 2 files changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -9,4 +9,5 @@ mkdir output/img
9
9
cp -r ../img output
10
10
cp ../index.html output/index.html
11
11
sed -i ' s/js\/libs\/require\/require.js/js\/main.js/g' output/index.html
12
- s3cmd put --recursive --acl-public output/* s3://apiengine
12
+ sed -i ' s/ data-main="js\/main"//g' output/index.html
13
+ s3cmd put --recursive --acl-public --add-header=Cache-Control:max-age=604800 output/* s3://apiengine
Original file line number Diff line number Diff line change 1
1
<!doctype html>
2
- <!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en"> <![endif]-->
3
- <!--[if IE 7]> <html class="no-js ie7 oldie" lang="en"> <![endif]-->
4
- <!--[if IE 8]> <html class="no-js ie8 oldie" lang="en"> <![endif]-->
5
- <!--[if gt IE 8]><!--> < html class ="no-js " lang ="en "> <!--<![endif]-->
2
+ < html lang ="en ">
6
3
< head >
7
4
< meta charset ="utf-8 ">
8
5
< meta http-equiv ="X-UA-Compatible " content ="IE=edge,chrome=1 ">
11
8
< meta name ="viewport " content ="width=device-width,initial-scale=1 ">
12
9
< meta name ="description " content ="">
13
10
< link rel ="stylesheet " href ="css/styles.css ">
14
-
15
- < script data-main ="js/main " src ="js/libs/require/require.js "> </ script >
16
11
</ head >
17
12
< body >
18
- <!--Initially populated by templates/layout.html -->
19
13
< div class ="container "> </ div >
14
+
15
+ < script data-main ="js/main " src ="js/libs/require/require.js " type ="text/javascript "> </ script >
20
16
</ body >
21
17
</ html >
You can’t perform that action at this time.
0 commit comments