Questions tagged [static-web-apps]
37 questions
0
votes
0 answers
Hugo website deployment to vercel, issue with submodule
I am trying to deploy a Hugo static website to vercel via gitlab and having issues with theme submodule installation. Locally it is installed via git submodule add https://github.com/dsrkafuu/hugo-theme-fuji.git themes/fuji and it works.
When doing…

dmayilyan
- 3
- 3
0
votes
1 answer
Possible X-Cache values from Cloudfront
What are possible X-Cache values from CloudFront ? There does not seem to be a list of all possible values properly documented for this header from CloudFront.

An And
- 155
- 1
- 3
- 14
0
votes
0 answers
A static UI, from S3 via CloudFront, whose rendering is a hit & miss
I have a static UI (Content from S3 via CloudFront), whose rendering is a hit & miss from different users/machines in chrome. The same UI (i.e. URL) renders properly in incognito mode for everyone/always as well as on any other browser that is not…

An And
- 155
- 1
- 3
- 14
0
votes
0 answers
Getting error while running HUGO project - error calling ExecuteAsTemplate: type not supported in Resource transformations
I have developed the website using Hugo and checked in to Git from Windows 11 machine.
Everything was working fine and now, I have downloaded same working code from Git to a different windows machine. But it's throwing the below error
at…

kudlatiger
- 3,028
- 8
- 48
- 98
0
votes
1 answer
Add context root to a single page react app hosted on AWS
I have single page react app on AWS (content being served from S3 origin through cloud front distribution via registered public domain name). We are wanting to add a context root to the url that is being used to get to the index.html (so the…

An And
- 155
- 1
- 3
- 14
0
votes
0 answers
Is script-src-elem 'self' a secure alternative?
I'm trying to write a Content Security Policy that is actually secure. The project loads a single script which then jumpstarts the rest of the application. For some reason I'm having a lot of issues getting hash with integrity to work, as the policy…

Jorge Martínez
- 41
- 1
- 5
0
votes
0 answers
rerouting www.example.com to exmple.com domain in aws
I have followed the steps outlined in the AWS tutorial titled "Configuring a static website using a custom domain registered with Route 53." However, when I search for www.example.com, the static website bucket that I need is displayed.…

Riccardo Cataldi
- 3
- 1
0
votes
2 answers
View a Vue website by just opening the HTML file in the browser (CORS policy error)
I have created a simple Vue3 + Vite website to present something to another person. It works fine when previewing on my side (using npm run dev or npm run build + npm run preview and then opening the browser at localhost:5173). It also works when…

gorczyca
- 21
- 4
0
votes
0 answers
Azure Static Web App CLI crashing after port 7071 already in use
Following the Azure SWA CLI tutorials, I find that I am able to get the API to run at port 4280 once and then it crashes the CLI. Likely related - I am warned that port 7071 is already in use when launching. Full details are here. Thanks.

Vince
- 583
- 5
- 20
0
votes
0 answers
Deploying web app in subfolder oj another web app
I have two web applications:
App1 - standalone js web application (package.json, index.js, etc. in root folder)
App2 - standalone js web application (package.json, index.js, etc. in root folder)
I've beed tasked with the following…

Greg
- 25,317
- 6
- 53
- 62
0
votes
1 answer
Shortcode contents are not rendered on the page during Hugo Static website
I am quite new to Hugo and trying to understand it through documentation and other things. I am creating a simple shortcode which I would like to include within my page but for some reason the shortcode is not rendered within my page at…

BATMAN_2008
- 2,788
- 3
- 31
- 98
0
votes
1 answer
How to add Wordpress plugins to static (non-Wordpress) web sites?
Suppose I want to add some Wordpress plugins (e.g. Easy Appointment) to a few static web sites that do not run on Wordpress. Currently, I want to add just basic plugin features (appointment form and calendar) to my sites. In future, I would like…

Michael
- 41,026
- 70
- 193
- 341
0
votes
2 answers
S3 Static website give 403 forbidden access denied error when using urls
I have a static angular website which I have published to an S3 bucket. I enabled the Static website hosting on the S3 bucket, and also selected all files in the bucket and did the "Make public using ACL" option. This should make the website open to…

Ben
- 111
- 1
- 3
- 16
0
votes
1 answer
Which parameters influence Lighthouse performance in desktop and mobile applications?
I am building a personal blog using Hugo and deploying it to Netlify, and I ran it, out of curiosity, through the Chrome Lighthouse. To my surprise, the results for desktop and mobile differ dramatically.
The blog is not optimized (yet) for mobiles,…

WoJ
- 27,165
- 48
- 180
- 345
0
votes
0 answers
React WebApp hostable on AWS S3 Bucket?
Im a little confused when it comes to the definition of static. As far as i know, the code of a static webApp is always the same when rendered and if you want to change something it has do be done manually.
But i can't get the following question out…

George
- 1