Organize distribution screenshots for better accessibility and loading
Move all desktop environment screenshots to the public directory and remove static server configuration for them. Replit-Commit-Author: Agent Replit-Commit-Session-Id: c4fc7b07-53a2-4929-bc12-f392104bb085 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Event-Id: 9b951424-8abb-49f6-aee8-ff13b2c83582 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/55e426a8-5a2b-421b-8bd4-30481ae0063b/c4fc7b07-53a2-4929-bc12-f392104bb085/a2ci8g4 Replit-Helium-Checkpoint-Created: true
|
After Width: | Height: | Size: 187 KiB |
|
After Width: | Height: | Size: 38 KiB |
|
After Width: | Height: | Size: 451 KiB |
|
After Width: | Height: | Size: 71 KiB |
|
After Width: | Height: | Size: 99 KiB |
|
After Width: | Height: | Size: 122 KiB |
|
After Width: | Height: | Size: 168 KiB |
|
After Width: | Height: | Size: 647 KiB |
|
After Width: | Height: | Size: 776 KiB |
|
After Width: | Height: | Size: 290 KiB |
|
After Width: | Height: | Size: 519 KiB |
|
After Width: | Height: | Size: 237 KiB |
@@ -2,12 +2,8 @@ import express, { type Request, Response, NextFunction } from "express";
|
||||
import { registerRoutes } from "./routes";
|
||||
import { serveStatic } from "./static";
|
||||
import { createServer } from "http";
|
||||
import path from "path";
|
||||
|
||||
const app = express();
|
||||
|
||||
// Serve DE screenshots statically
|
||||
app.use('/de_screenshots', express.static(path.join(process.cwd(), 'attached_assets/de_screenshots')));
|
||||
const httpServer = createServer(app);
|
||||
|
||||
declare module "http" {
|
||||
|
||||