Avoidig javascript cache.

This commit is contained in:
sergiotarxz 2023-09-08 01:45:21 +02:00
parent eecaba5131
commit a53251f55f

View File

@ -9,7 +9,7 @@
% my $base_url = config 'base_url'; % my $base_url = config 'base_url';
<html lang="es"> <html lang="es">
<head> <head>
<script src="/js/bundle.js"></script> <script src="/js/bundle.js?v=<%=$css_version%>"></script>
% my $css_version = config 'css_version'; % my $css_version = config 'css_version';
<link rel="stylesheet" href="/css/styles.css?v=<%=$css_version%>"/> <link rel="stylesheet" href="/css/styles.css?v=<%=$css_version%>"/>
<title><%= title %></title> <title><%= title %></title>