Почему ?!Очень простая небольшая демонстрация ExtJS. Я пытаюсь работать в моем S3-контейнере, и когда страница загружается, я получаю ошибку 403 Forbiden для ext-all.js.
Что дает?Вы можете проверить это здесь:
https://s3.us -east-2.amazonaws.com / mazzoochi-extjs-bucket / index.html
Спасибо,
(index.html)
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Mazzochi First ExtJS App</title>
<link rel="stylesheet" type="text/css" href="style.css">
<link rel = "stylesheet" type = "text/css" href = "https://cdnjs.cloudflare.com/ajax/libs/extjs/6.0.0/classic/theme-crisp/resources/theme-crisp-all.css" / >
<script type = "text/javascript" src = "https://cdnjs.cloudflare.com/ajax/libs/extjs/6.0.0/ext-all.js"> </script>
<script type="text/javascript">
var myComp1 = Ext.create("Ext.container.Component",{
html: 'component1'
});
var myComp2 = Ext.create("Ext.container.Component",{
html: 'component2'
});
var myComp3 = Ext.create("Ext.container.Component",{
html: 'component3'
});
var mycontainer = Ext.create("Ext.container.Container",{
items:[myComp1,myComp2,myComp3],
layout: 'vbox'
});
Ext.application({
name: 'MyApp',
launch: function () {
Ext.create('Ext.container.Viewport', {
items: [
mycontainer
]
});
}
});
</script>
</head>
<body>
<div id="MyDivId">
</div>
</body>
</html>