Questions tagged [ssg]
68 questions
0
votes
0 answers
Next.js, make POST request on button click (SSG)
I'm doing an ssg website, it doesn't have backend, but it does start to have some features that fetch some data from another server. I checked the SWR and it works, the issue is I need to make a post request on button click, and it gets me an…

Felix
- 55
- 9
0
votes
1 answer
(SSG-WSG) The skills frame work in the API is not tally with the skills framework shown in the website
The skills framework in the API is not tally with the skills framework shown in the website. For example, the API
https://public-api.ssg-wsg.sg/skillsFramework/sectors
shows only 29 sectors, but there are 34 sectors in the…

JNL
- 109
- 1
- 3
0
votes
2 answers
(ssg-wsg) Error:Access to this API has been disallowed
I tried to connect to the following API https://api.ssg-wsg.sg/grantCalculators/individual. I got the following error "Access to this API has been disallowed". Is there any UAT exist for these skill Future APIs? Thanks!
My subscription
[1]:…

ashif
- 1
- 1
0
votes
1 answer
NextJS: "TypeError: Cannot read property 'toLowerCase' of undefined"
While usign the getStaticPaths() and getStaticProps() I am getting the error NextJS: "TypeError: Cannot read property 'toLowerCase' of undefined"

Juanma Menendez
- 17,253
- 7
- 59
- 56
0
votes
1 answer
How to pass key and cert in c# language
Hi I Saw the demo code for consume the Certificate Authentication API with node js.
var https = require('https'), // Module for https
fs = require('fs'); // Required to read certs and keys
var options…

Lucky
- 1
- 1
0
votes
3 answers
(ssg-wsg) - Generating Token in application is rejected by CORS policy
I can generate SSG WSG token by using Postman, but I am getting error like "from origin 'myApplication_URL' has been blocked by CORS policy" when I call that API via jQuery Ajax.
How to implement SSG WSG within application.

Bunny
- 87
- 1
- 7
0
votes
0 answers
(eleventy) How to generate rel="amphtml" formats for src *.md file
I am trying to find a solution for generating an AMP version for particular pages in my 11ty (Eleventy) website.
Take for example the following content ...
|
+- /src
|
+- /recipes
|
+- super-stroodle.md
Ideally I would like…

ra9r
- 4,528
- 4
- 42
- 52
0
votes
1 answer
Eleventy is not adding an html suffix to index files generated from a nested index.md file
Eleventy is not adding an html suffix to index files generated from a nested index.md file.
For example, here is a sample directory structure with my source content ...
|
+- /src (input dir)
|
+- post
| |
| +- my-cool-post
| …

ra9r
- 4,528
- 4
- 42
- 52