Skip to content

HTML5 localhost check #19

@subsoap

Description

@subsoap

Something like this for mock.lua

local info = sys.get_sys_info()

if info.system_name == "HTML5" then
	local domain = html5.run("window.location.hostname")
	if domain == "localhost" then
		fbinstant = nil
	end
end


if fbinstant then return end
fbinstant = {
	mock = true
}

...

Metadata

Metadata

Assignees

No one assigned

    Labels

    improvementImprovement of existing feature

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions