Skip to content

Commit

Permalink
close
Browse files Browse the repository at this point in the history
  • Loading branch information
ProgramComputer committed Dec 28, 2023
1 parent a5a324a commit 4aacebb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ services:
links:
- db
volumes:
- ./media:/var/www/html/media
- ./media:/var/www/media
ports:
- "8010:80"
restart: unless-stopped
Expand All @@ -28,4 +28,4 @@ services:
image: mariadb:10.7
restart: unless-stopped
volumes:
- ./lwt_db_data:/var/lib/mysql
- ./lwt_db_data:/var/lib/mysql
6 changes: 2 additions & 4 deletions inc/session_utility.php
Original file line number Diff line number Diff line change
Expand Up @@ -5142,10 +5142,8 @@ function makeAudioPlayer($audio, $offset=0)
<!-- Audio controls once that page was loaded -->
<script type="text/javascript">
//<![CDATA[
var MEDIA = <?php echo prepare_textdata_js(encodeURI($audio)); ?>;
if (!(/(http(s?)):\/\//i.test(MEDIA))) {
MEDIA = new URL(MEDIA, window.location.origin).href
}

const MEDIA = <?php echo prepare_textdata_js(encodeURI($audio)); ?>;
const MEDIA_OFFSET = <?php echo $offset; ?>;

/**
Expand Down

0 comments on commit 4aacebb

Please sign in to comment.