mirror of
https://github.com/C9Glax/tranga-website.git
synced 2025-04-12 13:48:20 +02:00
asset include
This commit is contained in:
parent
44f43b7152
commit
fbb25807e6
@ -11,6 +11,7 @@ FROM nginx:alpine3.17-slim
|
||||
|
||||
# Copy built files from Vite's dist folder
|
||||
COPY --from=builder /app/Website/dist /usr/share/nginx/html
|
||||
COPY --from=builder /app/Website/media /usr/share/nginx/html
|
||||
|
||||
EXPOSE 80
|
||||
CMD ["nginx", "-g", "daemon off;"]
|
@ -57,7 +57,7 @@ export default function Settings({ backendConnected, apiUri, frontendSettings, s
|
||||
return (
|
||||
<div id="Settings">
|
||||
<div onClick={() => setShowSettings(true)}>
|
||||
<img id="Settings-Cogwheel" src="../../media/settings-cogwheel.svg" alt="settings-cogwheel" />
|
||||
<img id="Settings-Cogwheel" src="../media/settings-cogwheel.svg" alt="settings-cogwheel" />
|
||||
</div>
|
||||
{showSettings
|
||||
? <div className="popup" id="SettingsPopUp">
|
||||
|
@ -5,6 +5,5 @@ export default defineConfig({
|
||||
server: {
|
||||
port: '8080'
|
||||
},
|
||||
root: 'Website',
|
||||
assetsInclude: ['**/media/*']
|
||||
root: 'Website'
|
||||
})
|
Loading…
x
Reference in New Issue
Block a user