-
-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Hello kriasoft,
First thanks for your job. Very helpful !
I try to use this package within an express server but i face an issue. When i try to display the original image all works fine but when i add a manipulation prefix (for instance w_50), the cache image is generated in the cache bucket but empty 😳.
If i use the createHandler directly in a cloud function all works very well !
Could you help ?
Thanks.
Here a sample of my code
`
const express = require('express');
const { createHandler } = require('image-resizing');
const app = express();
const port = 3000;
app.get(
'/*',
createHandler({
sourceBucket: 'gs:///assets',
cacheBucket: 'gs:///cache',
})
);
app.listen(port, () => {
console.log(Example app listening at http://localhost:${port});
});
`
Metadata
Metadata
Assignees
Labels
No labels