Skip to content

Commit

Permalink
Merge pull request #9 from eufelipemateus/dev
Browse files Browse the repository at this point in the history
Fix Bug in https url action form
  • Loading branch information
eufelipemateus committed May 31, 2022
2 parents 146e291 + 97b1d0a commit 44288a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"name": "felipemateus/iptv-channels",
"version": "3.0.3",
"description": "This package controls the IPTV channel list and generates an m3u8 file using laravel.",
"type": "library",
"license": "MIT",
Expand Down
4 changes: 2 additions & 2 deletions src/resources/views/channel.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@
</div>
<div class="card-body">
@foreach ($urls as $url)
<form class="form-vertical" role="form" method="POST" action="{{ route('update_update',['id'=>$url->id]) }}" enctype="multipart/form-data">
<form class="form-vertical" role="form" method="POST" action="{{ route('update_update',['id'=>$url->id], false) }}" enctype="multipart/form-data">
<input type="hidden" id="channel_id_{{$url->id}}" name="iptv_channel_id" value="{{$url->iptv_channel_id}}">
{{ csrf_field() }}

Expand Down Expand Up @@ -171,7 +171,7 @@
</div>
</form>
@endforeach
<form class="form-vertical" role="form" method="POST" action="{{ route('create_url') }}" enctype="multipart/form-data">
<form class="form-vertical" role="form" method="POST" action="{{ route('create_url',[], false) }}" enctype="multipart/form-data">
{{ csrf_field() }}
<input type="hidden" id="new_channel_id" name="iptv_channel_id" value="{{$Channel->id}}">
<div class="row">
Expand Down

0 comments on commit 44288a5

Please sign in to comment.