Comments (3)
Hi, I addressed the issue in #167. When the new version is released, you could then use your API call like this:
module.exports = fetchAPI("/upload/files").catch((error) => {
console.error(error);
return []; // return an empty array in case of error
});
from next-image-export-optimizer.
Please test the solution in version 1.8.3
from next-image-export-optimizer.
Hi @Niels-IO , I would like to confirm that the solution worked for me. I have fetched the image list successful.
Thanks for your quick support.
from next-image-export-optimizer.
Related Issues (20)
- Server side module in app directory HOT 1
- Cannot find module 'next-image-export-optimizer' from '...' HOT 9
- Can't use requrie in a esm project
- No images are generated when distDir is not 'out' HOT 7
- Is there a clean way to not use imageSizes/deviceSizes at all? HOT 1
- nextImageExportOptimizer still exists after setting of custom folder HOT 2
- Error 'NextRouter was not mounted' occurs when building with SSG after updating from v1.7.0 to v1.8.0 HOT 4
- Generate broken filename when remote file is 'jpg'
- Filenames too long with long urls HOT 3
- Download remote images error at specific number of images HOT 1
- Remote image optimization fails if content-type contains charset parameter HOT 2
- Support quality property HOT 3
- Remote images require https URLs HOT 1
- Invalid next.config.js options detected HOT 1
- Package doesn't work with bun HOT 4
- Full width Image issue. HOT 2
- accessibility issue HOT 1
- Personalize file names HOT 3
- Package wont install on NPM with Next 14 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from next-image-export-optimizer.