|
@@ -5,7 +5,7 @@ const path = require('path')
|
|
|
|
|
|
|
|
async function main() {
|
|
async function main() {
|
|
|
const tiffPath = path.resolve(__dirname, '../de99928f1689454084d1af33ec3cc155.tif')
|
|
const tiffPath = path.resolve(__dirname, '../de99928f1689454084d1af33ec3cc155.tif')
|
|
|
- const outPath = path.resolve(__dirname, '../de99928f-preview.png')
|
|
|
|
|
|
|
+ const outPath = path.resolve(__dirname, '../public/de99928f-preview.png')
|
|
|
|
|
|
|
|
if (!fs.existsSync(tiffPath)) {
|
|
if (!fs.existsSync(tiffPath)) {
|
|
|
console.error('TIFF not found:', tiffPath)
|
|
console.error('TIFF not found:', tiffPath)
|