Questions tagged [static-web-apps]

37 questions
7
votes
1 answer

How to make a S3 deployment with the modern version of CodePipeline

I am trying to setup a brand new pipeline with the last version of AWS CDK for typescript (1.128). The creation of the pipeline is pretty straight forward. I have added sources and build stages with no issues. The objective here is to have an…
6
votes
1 answer

This Static Web App has the maximum number of staging environments

When setting up Azure Static Web Apps and using Github workflow, sometimes pull-request builds will fail. The error is: "This Static Web App already has the maximum number of staging environments". Here's an excerpt from the Github Workflow build…
Coreus
  • 5,360
  • 3
  • 35
  • 50
4
votes
1 answer

How can I access Azure Static Web Apps Application Settings in Angular?

I deployed an Angular App as Static Web App into Azure. Now I want to use the Application Settings in the Configuration to change variables in my environment.ts to access different APIs and Application Insights without changing the code every…
3
votes
0 answers

Azure Static Web App Role Functions Not Working

I've made an attempt to get Azure Static Web Apps with customized Roles function to work in my environment just as specified by: https://learn.microsoft.com/en-us/azure/static-web-apps/assign-roles-microsoft-graph Everything seems to work as…
OneClutteredMind
  • 369
  • 1
  • 3
  • 15
3
votes
2 answers

Is it possible o edit YML file from a seperate admin portal for static web development HUGO theme

I have a hugo theme website and i want to make an admin portal to edit the contents of the website which are all located in the data/homepage.yml file. Is there a way to keep my website a static website and still have an admin portal to update the…
3
votes
2 answers

How to deploy Blazor WebAssembly as static site in GitLab Pages

I can't find any guide on how to deploy a Blazor web assembly app to GitLab Pages as a static site. Has anyone managed to do so for .NET 6? I have created a sample web assembly Blazor client…
diegosasw
  • 13,734
  • 16
  • 95
  • 159
3
votes
1 answer

Cannot access static website hosted on S3 bucket, from within VPC

I am looking to host a static website on AWS, using an S3 bucket. I followed these steps. The site is a usual directory with subdirectories: app │ index.html └───scripts │ │ things.js │ │ stuff.js └───images │ img1.png │ …
Cybernetic
  • 12,628
  • 16
  • 93
  • 132
3
votes
0 answers

How do I create static web server in expo app?

Can I create a static web server inside an expo app? I know I can do that in react-native. I knew it from here. But i want know about the expo managed workflow
2
votes
1 answer

Change domain for Pull Request environments in Azure Static Web Apps

Is it possible to change the domain for which Pull Request environments are built to? Currently we have our main branch built to a custom domain https://dev.mycompany.com and PR environments are built to the generated domain…
hornta
  • 139
  • 1
  • 10
2
votes
1 answer

Hugo: creation of a page that sends to a txt format

Bonjour ! I want to create a page that sends directly to a page in txt format, i.e. with a path like this: www.siteweb.fr/securite.txt The problem is that when I create a new security page > _index.md, I have this front matter: --- title:…
1
vote
0 answers

Excel Add In connection to Azure SignalR not working

I am trying to connect my Excel Add In to Azure SignalR. I already connected a WPF app - but apparently AspNet Core is not supported in Office Add Ins (getting a DisposeAsync not implemented exception) so i am using the assembly…
Stig
  • 31
  • 1
  • 6
1
vote
0 answers

Azure SWA CLI deploy hangs on "Looking for event info"

I am using Azure SWA CLI 1.0.2 on Node 16.15.0 in WSL2 on Windows 11 Starting with a "Hello World" style deployment. E.g. no CI/CD, no Github, no repost, commits, PRs, etc. I have my dist folder with a simple Hello World style index.html file. I can…
1
vote
1 answer

How are static files served through .Handle() targeted?

EDIT: I am usinng chi as the router. It works differently from the standard one. See the answer for the key difference, relevant to my question. I am confused about how the files from my static site served by my application are targeted for…
WoJ
  • 27,165
  • 48
  • 180
  • 345
1
vote
0 answers

Why am I redirected to some other website on the first click on my website deployed on AWS S3?

I followed the tutorial in react.js documentation to create a tic-tac-toe game using create-react-app. Then, I followed this tutorial to deploy it on AWS S3. Now, I am able to access the game through the static website link provided by S3, but the…
piggybank
  • 13
  • 2
  • 4
1
vote
1 answer

Blazor Azure deployment error: "Error: Could not detect the language from repo."

I am trying to deploy Blazor .NET6 app to Azure Static Web App. The problem is when I set up the build it crashes with: Error: Could not detect the language from repo. My deployment config: name: Azure Static Web Apps CI/CD on: push: …
Kebechet
  • 1,461
  • 15
  • 31
1
2 3