|
|
@ -14,7 +14,6 @@
|
|
|
|
# You should have received a copy of the GNU Affero General Public License
|
|
|
|
# You should have received a copy of the GNU Affero General Public License
|
|
|
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
|
|
|
|
require "crypto/bcrypt/password"
|
|
|
|
|
|
|
|
require "detect_language"
|
|
|
|
require "detect_language"
|
|
|
|
require "digest/md5"
|
|
|
|
require "digest/md5"
|
|
|
|
require "kemal"
|
|
|
|
require "kemal"
|
|
|
@ -112,6 +111,13 @@ spawn do
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
popular_videos = [] of ChannelVideo
|
|
|
|
|
|
|
|
spawn do
|
|
|
|
|
|
|
|
pull_popular_videos(PG_DB) do |videos|
|
|
|
|
|
|
|
|
popular_videos = videos
|
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
decrypt_function = [] of {name: String, value: Int32}
|
|
|
|
decrypt_function = [] of {name: String, value: Int32}
|
|
|
|
spawn do
|
|
|
|
spawn do
|
|
|
|
update_decrypt_function do |function|
|
|
|
|
update_decrypt_function do |function|
|
|
|
|