Chỉnh sửa và tối ưu form đăng nhập và đăng ký
This commit is contained in:
@@ -641,7 +641,7 @@ router.put('/scenes/:id', protect, uploadSinglePanorama, async (req, res) => {
|
||||
const processedFilePath = path.join(uploadDir, processedFileName);
|
||||
|
||||
await resizeTo8K(req.file.path, processedFilePath);
|
||||
await injectGPSCoordinates(processedFilePath, scene.lat, scene.lng);
|
||||
await injectGPSCoordinates(processedFilePath, scene.gps.lat, scene.gps.lng);
|
||||
|
||||
const asset = new Asset({
|
||||
filePath: processedFilePath,
|
||||
|
||||
Reference in New Issue
Block a user