Urgent.News

What's breaking now, across thousands of outlets.

Tech

Forge Custom UI blank page after deploy: Vite asset paths

A Forge Custom UI app built with Vite can render under forge tunnel and then show a blank page after forge deploy . The cause is Vite's default build, which writes absolute asset paths such as /assets/index-xxx.js into index.html . We reproduced it on our Jira test site on 17 November 2026, and both assets returned HTTP 422 with the body Invalid URL . Adding base: './' to vite.config.js fixed the…

A Forge Custom UI app built with Vite can render correctly on forge tunnel, but may show a blank page after deployment. The issue stems from Vite's default behavior of generating absolute asset paths in the index.html file. On November 17, 2026, a Forge Custom UI test site on Jira experienced this problem, with HTTP 422 responses from the assets. Adding base: "./" to the vite.config.js file resolved the issue.

Forge is Atlassian's platform for apps that run on their cloud, and Custom UI is the option where your own HTML and JavaScript run inside an iframe. Vite is the front-end build tool that transforms your source code into the files Forge serves. forge tunnel serves the app from your local machine during development, while forge deploy uploads it to Atlassian's servers.

The problem arises because forge tunnel and forge deploy serve the app from different locations. When using forge tunnel, the Forge CLI serves the folder specified in the manifest's resources entry from your local machine. When deploying, the same folder is hosted on Atlassian's CDN. The iframe's URL points to a resource outside your app, causing the browser to request the assets from the top-level of the host, rather than within your app's folder.

This issue is similar to the one mentioned in Atlassian's access to static assets documentation, which advises using "./assets/image.png" instead of "/assets/image.png" for relative paths. The provided steps outline how to confirm the issue, inspect the index.html file for absolute paths, set the base configuration in Vite, rebuild the app, fix any remaining relative paths in the JavaScript, deploy again, and verify that the assets load correctly within the app's folder.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

How to find internships that mention visa sponsorship

If you need work authorization support, the internship search has an extra step: you have to read the eligibility language on every posting, not just the role title and city.

  • Carefully read internship postings for explicit visa sponsorship statements.
  • Verify eligibility with school's international student office or immigration attorney.
  • Track sponsorship language and confirmation dates in a short record.

Making Scanned PDFs Searchable with OCRmyPDF and Tesseract

A scanned PDF looks like a normal document, but it behaves like a stack of photographs. You can't search it, you can't copy a paragraph, and a lot of scripts that "extract text" come back empty.

  • Scanned PDFs appear as images, not searchable text
  • pdftotext reveals lack of text layer in unreadable PDFs
  • OCRmyPDF simplifies converting PDFs to searchable formats

More from Tuesday 17 November →