Questions tagged [static-pages]
126 questions
0
votes
0 answers
Can a static page read environment variable?
Currently I have a nginx server running in a container and want to display a static page when someone access https://example.com/showname/.
The static page need to show the pod name get from the environment variable, is there a way to do this?
my…

Fluke
- 1
0
votes
0 answers
Error: Export encountered errors on following paths: /
info - Generating static pages (1/1)
Build error occurred
Error: Export encountered errors on following paths:
/
at /Users/user/.nvm/versions/node/v16.13.0/lib/node_modules/next/dist/export/index.js:425:19
at processTicksAndRejections…
0
votes
0 answers
Can I use domain-specific wwwroot folders in my project?
So I've been studying the documentation of.net Core Middleware and I'm working on a minimal Web API with an additional wwwroot folder containing static HTML content with CSS and Javascript. This is basically a demo for the Web API in the same…

Wim ten Brink
- 25,901
- 20
- 83
- 149
0
votes
0 answers
NextJS on-demand revalidation takes hours for page content to be updated
I have created a nextJS project with 366 pages where each page is statically generated using getStaticProps. Each page receives new content twice a day and I am using on-demand revalidation to update the cache for each single page. The revalidation…

eieis
- 1
- 1
0
votes
0 answers
Can Next.js on-demand revalidation be done at large scale?
I am working on a website with 500 000 products and we are trying ISR to keep the pages up to date. Things like price can be SEO sensitive, so it would be nice if we are not showing yesterday's prices.
Here are the possible solutions I see:
A)…

Ivan
- 1
- 1
0
votes
0 answers
Create a Django App and API to hold static pages like
I'm a newbie on django framework working on a Django bootcamp project.
I created an about app using '''django-admin startapp about''' which is supposed to hold static web page like about us, service, faq, contact us, terms and condition, privacy etc…
0
votes
1 answer
github page load image strict-origin-when-cross-origin
I tray to make a static page on github page.
I use this code to load the images:
function createDeck(call) {
let deck = [];
let jarOfPromise = [];
for (let x of ["B", "C", "S", "D"]) {
for (let y of [1, 2, 3, 4, 5, 6, 7, 8, 9,…

clingonboy
- 9
- 1
0
votes
1 answer
Rails 3.1 and static pages
I'm just in the middle of upgrading a large application from Rails 3 to Rails 3.1 and struck a problem with my implementation of the pages controller:
when templates doesnt exist
should render the 404 page (FAILED - 1)
Failures:
1)…

map7
- 5,096
- 6
- 65
- 128
0
votes
1 answer
I can't get a page to show on Docusaurus. What am I doing wrong?
I've been configuring a local site I built via Docusaurus, and I can't get to show the About page. I made sure the links are correct, but I keep on getting an error. I feel like I just overlooked something very simple, but I honestly don't know much…

annewrites
- 1
- 1
0
votes
0 answers
How do I update my Hugo site locally and make sure that the live site (hosted on GitHub pages) reflect the changes?
Let me start by saying that I'm very new to this. I have little to no technical background, so this might just be a simple problem, or I did something I shouldn't have done. It's my first time using the command line and dealing with static pages.
I…

annewrites
- 1
- 1
0
votes
1 answer
Connection refused error post request at javascript file on node.js server
I'm getting net::ERR_CONNECTION_REFUSED error when i open related page with javascript file.
I'm using node.js as a server and , i'm writing post requests in a javascript file for my static pages. service_provider.js is my javascript file for i use…
user3070246
0
votes
1 answer
AWS static website - how to connect subdomains with subfolders
I want to setup S3 static website and connect with my domain (for example domain: example.com).
In this S3 bucket I want to create one particular folder (name content) and many different subfolders with in, then I want to connect these subfolders…

David
- 67
- 9
0
votes
1 answer
Can not build svelte-kit static pages based on md files - build error
I am trying to build static sites with svelte-kit using static-adapter, but when I try to build a project the build process end with error showing that md-parser is not present. I am using this parser for parsing md files with page content served…

Hancs
- 83
- 4
0
votes
1 answer
how to check and validate the url of a previous visit to our page using jquery
I have a static page in the form of a puzzle, I want to use the argument "if else" so that my page can be viewed if the url of my page is clicked from the site I want. For example, simple.
if my result page is visited through this…

vhlan
- 1
- 2
0
votes
1 answer
Question about correctly configure static page blog routing in Nginx
I encountered a problem when configuring Nginx routing on a static blog page.
I think I should have made a low-level mistake, but I can’t do anything about it and hope to get help here.
First of all, I have two projects, both of them are static…

Austin Deng
- 23
- 5