Vite handles Public Base Path and by default base path equals to /. So you can add / to the beginning of the path, for example like /assets/fonts/GeistMono-Light.woff2 for font file located in /public folder. This will solve the warning.
/
/assets/fonts/GeistMono-Light.woff2
/public