Author SHA1 Message Date
dredgy 2a5d2d7875 Compact map padding amended 2026-07-17 23:43:16 +10:00
dredgy a11e8f1428 Fixed Bug With Shared Flights 2026-07-12 18:33:01 +10:00
4 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ COPY . .
RUN composer install --no-dev --optimize-autoloader
ARG APP_VERSION=Dev
ENV VITE_APP_VERSION=$APP_VE
ENV VITE_APP_VERSION=$APP_VERSION
LABEL org.opencontainers.image.version=$APP_VERSION
RUN npm install && npm run build && rm -f public/hot
+1 -1
View File
@@ -8,7 +8,7 @@
"dev": "vite",
"dev:all": "concurrently -s all \"php artisan serve\" \"php artisan reverb:start\" \"php artisan queue:work\" \"npm run dev\" > /dev/null 2>&1",
"serve:all": "concurrently -s all \"php artisan serve\" \"php artisan reverb:start\" \"php artisan queue:work\" > /dev/null 2>&1",
"updateVersion": "cross-var docker build --build-arg APP_VERSION=$npm_config_tag -t dredgy/flights-api:$npm_config_tag -t dredgy/flights-api:latest . && cross-var docker push dredgy/flights-api:$npm_config_tag && docker push dredgy/flights-api:latest"
"updateVersion": "cross-var docker build --no-cache --build-arg APP_VERSION=$npm_config_tag -t dredgy/flights-api:$npm_config_tag -t dredgy/flights-api:latest . && cross-var docker push dredgy/flights-api:$npm_config_tag && docker push dredgy/flights-api:latest"
},
"devDependencies": {
"@inertiajs/vue3": "^2.0.0",
@@ -659,7 +659,7 @@ export default defineComponent({
const fitBounds = (): void => {
if (!props.flights.length) return
const padding = props.compact ? 25 : 60
const padding = props.compact ? 40 : 60
const lngs = props.flights.flatMap(f => [f.departure_airport.longitude_deg, f.arrival_airport.longitude_deg])
const lats = props.flights.flatMap(f => [f.departure_airport.latitude_deg, f.arrival_airport.latitude_deg])
@@ -11,6 +11,7 @@ const version = __APP_VERSION__
<footer class="glass">
<span class="footer-copyright">
&copy; {{ year }} FlightsGoneBy
<span class="footer-version">v{{ version }}</span>
</span>